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. def ++(other: Permission): Permission

    Add a permission to this permission.

    Add a permission to this permission.

    other

    The other permission.

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

    Remove a permission from this permission.

    Remove a permission from this permission.

    other

    The permission to remove.

  3. def addPermissions(other: Permission): Permission

    Add a permission to this permission.

    Add a permission to this permission.

    other

    The other permission.

  4. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  5. 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.

  6. def isNone: Boolean

    Check if this permission grants any permissions.

  7. def removePermissions(other: Permission): Permission

    Remove a permission from this permission.

    Remove a permission from this permission.

    other

    The permission to remove.

  8. def toBigInt: BigInt
  9. def togglePermissions(other: Permission): Permission

    Toggle a permission in this permission.

    Toggle a permission in this permission.

    other

    The permission to toggle.