Packages

c

ackcord.data

UserFlagsSyntax

implicit final class UserFlagsSyntax extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UserFlagsSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UserFlagsSyntax(flags: UserFlags)

Value Members

  1. def ++(other: UserFlags): UserFlags

    Add a flag to this flag.

    Add a flag to this flag.

    other

    The other flag.

  2. def --(other: UserFlags): UserFlags

    Remove a flag from this flag.

    Remove a flag from this flag.

    other

    The flag to remove.

  3. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  4. def hasFlag(other: UserFlags): Boolean

    Check if these flags has a flag.

    Check if these flags has a flag.

    other

    The flag to check against.

  5. def isNone: Boolean

    Check if these flags is not empty.

  6. def toInt: Int