Enum roblox::enumeration::CameraType [−][src]
pub enum CameraType { Fixed, Watch, Attach, Track, Follow, Custom, Scriptable, Orbital, }
Expand description
The CameraType enumeration.
Examples
Getting an EnumItem’s name:
assert_eq!(roblox::enums::CameraType::Fixed.name(), "Fixed");
Getting an EnumItem’s value:
assert_eq!(roblox::enums::CameraType::Fixed.value(), Fixed);
Getting all EnumItems:
let enum_items = roblox::enums::CameraType::get_enum_items();
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CameraType
impl Send for CameraType
impl Sync for CameraType
impl Unpin for CameraType
impl UnwindSafe for CameraType
Blanket Implementations
Mutably borrows from an owned value. Read more