pub enum HudAttachmentPoint {
Center2 = 31,
TopRight = 32,
Top = 33,
TopLeft = 34,
Center = 35,
BottomLeft = 36,
Bottom = 37,
BottomRight = 38,
}Expand description
HUD attachment point
Variants§
Center2 = 31
HUD Center 2
TopRight = 32
HUD Top Right
Top = 33
HUD Top
TopLeft = 34
HUD Top Left
Center = 35
HUD Center
BottomLeft = 36
HUD Bottom Left
Bottom = 37
HUD Bottom
BottomRight = 38
HUT Bottom Right
Implementations§
Source§impl HudAttachmentPoint
impl HudAttachmentPoint
Sourcepub const fn is_center_2(&self) -> bool
pub const fn is_center_2(&self) -> bool
Returns true if the enum is HudAttachmentPoint::Center2 otherwise false
Sourcepub const fn is_top_right(&self) -> bool
pub const fn is_top_right(&self) -> bool
Returns true if the enum is HudAttachmentPoint::TopRight otherwise false
Sourcepub const fn is_top(&self) -> bool
pub const fn is_top(&self) -> bool
Returns true if the enum is HudAttachmentPoint::Top otherwise false
Sourcepub const fn is_top_left(&self) -> bool
pub const fn is_top_left(&self) -> bool
Returns true if the enum is HudAttachmentPoint::TopLeft otherwise false
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if the enum is HudAttachmentPoint::Center otherwise false
Sourcepub const fn is_bottom_left(&self) -> bool
pub const fn is_bottom_left(&self) -> bool
Returns true if the enum is HudAttachmentPoint::BottomLeft otherwise false
Sourcepub const fn is_bottom(&self) -> bool
pub const fn is_bottom(&self) -> bool
Returns true if the enum is HudAttachmentPoint::Bottom otherwise false
Sourcepub const fn is_bottom_right(&self) -> bool
pub const fn is_bottom_right(&self) -> bool
Returns true if the enum is HudAttachmentPoint::BottomRight otherwise false
Trait Implementations§
Source§impl Clone for HudAttachmentPoint
impl Clone for HudAttachmentPoint
Source§fn clone(&self) -> HudAttachmentPoint
fn clone(&self) -> HudAttachmentPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HudAttachmentPoint
impl Debug for HudAttachmentPoint
Source§impl Display for HudAttachmentPoint
impl Display for HudAttachmentPoint
Source§impl FromStr for HudAttachmentPoint
impl FromStr for HudAttachmentPoint
Source§impl Hash for HudAttachmentPoint
impl Hash for HudAttachmentPoint
Source§impl PartialEq for HudAttachmentPoint
impl PartialEq for HudAttachmentPoint
impl Eq for HudAttachmentPoint
impl StructuralPartialEq for HudAttachmentPoint
Auto Trait Implementations§
impl Freeze for HudAttachmentPoint
impl RefUnwindSafe for HudAttachmentPoint
impl Send for HudAttachmentPoint
impl Sync for HudAttachmentPoint
impl Unpin for HudAttachmentPoint
impl UnwindSafe for HudAttachmentPoint
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