Enum entmet_lib::entities::entity::TextDisplayMaskData
source · #[repr(u8)]pub enum TextDisplayMaskData {
HasShadow = 1,
IsSeeThrough = 2,
UseDefaultBackgroundColor = 4,
AlignCenter = 8,
AlignLeft = 9,
AlignRight = 10,
}Expand description
An enum of the different attributes that an text display can have
Variants§
HasShadow = 1
Whether it has a shadow or not
IsSeeThrough = 2
Whether it is see through or not
UseDefaultBackgroundColor = 4
Whether to use the default background color or not
AlignCenter = 8
Aligned centered
AlignLeft = 9
Aligned left
AlignRight = 10
Aligned right
Trait Implementations§
source§impl Clone for TextDisplayMaskData
impl Clone for TextDisplayMaskData
source§fn clone(&self) -> TextDisplayMaskData
fn clone(&self) -> TextDisplayMaskData
Returns a copy 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 Into<u8> for TextDisplayMaskData
impl Into<u8> for TextDisplayMaskData
source§impl PartialEq for TextDisplayMaskData
impl PartialEq for TextDisplayMaskData
source§fn eq(&self, other: &TextDisplayMaskData) -> bool
fn eq(&self, other: &TextDisplayMaskData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TextDisplayMaskData
impl Eq for TextDisplayMaskData
impl StructuralPartialEq for TextDisplayMaskData
Auto Trait Implementations§
impl Freeze for TextDisplayMaskData
impl RefUnwindSafe for TextDisplayMaskData
impl Send for TextDisplayMaskData
impl Sync for TextDisplayMaskData
impl Unpin for TextDisplayMaskData
impl UnwindSafe for TextDisplayMaskData
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