Packages

c

ackcord.data

PermissionSyntax

implicit final class PermissionSyntax extends AnyVal

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

Instance Constructors

  1. new PermissionSyntax(permission: Permission)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++(other: Permission): Permission

    Add a permission to this permission.

    Add a permission to this permission.

    other

    The other permission.

  4. def --(other: Permission): Permission

    Remove a permission from this permission.

    Remove a permission from this permission.

    other

    The permission to remove.

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def addPermissions(other: Permission): Permission

    Add a permission to this permission.

    Add a permission to this permission.

    other

    The other permission.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. def hasPermissions(other: Permission): Boolean

    Check if this permission has a permission.

    Check if this permission has a permission.

    other

    The permission to check against.

  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def isNone: Boolean

    Check if this permission grants any permissions.

  12. def removePermissions(other: Permission): Permission

    Remove a permission from this permission.

    Remove a permission from this permission.

    other

    The permission to remove.

  13. def toBigInt: BigInt
  14. def toString(): String
    Definition Classes
    Any
  15. def togglePermissions(other: Permission): Permission

    Toggle a permission in this permission.

    Toggle a permission in this permission.

    other

    The permission to toggle.

Inherited from AnyVal

Inherited from Any

Ungrouped