Enum roblox::enumeration::FontSize [−][src]
pub enum FontSize {}Show 15 variants
Size8, Size9, Size10, Size11, Size12, Size14, Size18, Size24, Size36, Size48, Size28, Size32, Size42, Size60, Size96,
Expand description
The FontSize enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::FontSize::Size8.name(), "Size8");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::FontSize::Size8.value(), Size8);
Getting all EnumItems:
let enum_items = roblox::enums::FontSize::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FontSize
impl UnwindSafe for FontSize
Blanket Implementations
Mutably borrows from an owned value. Read more