Enum entmet_lib::entities::entity::DisplayType
source · #[repr(u8)]pub enum DisplayType {
None = 0,
ThirdPersonLeftHand = 1,
ThirdPersonRightHand = 2,
FirstPersonLeftHand = 3,
FirstPersonRightHand = 4,
Head = 5,
Gui = 6,
Ground = 7,
Fixed = 8,
}Expand description
An enum of the different available display types
Variants§
None = 0
No display type
ThirdPersonLeftHand = 1
In third person in the left hand
ThirdPersonRightHand = 2
In third person in the right hand
FirstPersonLeftHand = 3
In first person in the left hand
FirstPersonRightHand = 4
In first person in the right hand
Head = 5
An the head
Gui = 6
In the gui
Ground = 7
At the ground
Fixed = 8
Fixed at one place
Auto Trait Implementations§
impl Freeze for DisplayType
impl RefUnwindSafe for DisplayType
impl Send for DisplayType
impl Sync for DisplayType
impl Unpin for DisplayType
impl UnwindSafe for DisplayType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more