Enum roblox::enumeration::PrivilegeType [−][src]
pub enum PrivilegeType { Owner, Admin, Member, Visitor, Banned, }
Expand description
The PrivilegeType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::PrivilegeType::Owner.name(), "Owner");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::PrivilegeType::Owner.value(), Owner);
Getting all EnumItems:
let enum_items = roblox::enums::PrivilegeType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrivilegeType
impl Send for PrivilegeType
impl Sync for PrivilegeType
impl Unpin for PrivilegeType
impl UnwindSafe for PrivilegeType
Blanket Implementations
Mutably borrows from an owned value. Read more