pub enum TextColour {
White = 1,
Red = 4,
Blue = 5,
Black = 8,
Gold = 10,
BlueF = 98,
Cleaning = 240,
Stencil = 241,
Other = 2,
Incompatible = 255,
}Expand description
Text colour enumerations
Variants§
White = 1
Red = 4
Blue = 5
Black = 8
Gold = 10
BlueF = 98
Cleaning = 240
Stencil = 241
Other = 2
Incompatible = 255
Trait Implementations§
Source§impl Clone for TextColour
impl Clone for TextColour
Source§fn clone(&self) -> TextColour
fn clone(&self) -> TextColour
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 TextColour
impl Debug for TextColour
Source§impl From<u8> for TextColour
impl From<u8> for TextColour
Source§fn from(v: u8) -> TextColour
fn from(v: u8) -> TextColour
Converts to this type from the input type.
Source§impl PartialEq for TextColour
impl PartialEq for TextColour
impl Copy for TextColour
impl StructuralPartialEq for TextColour
Auto Trait Implementations§
impl Freeze for TextColour
impl RefUnwindSafe for TextColour
impl Send for TextColour
impl Sync for TextColour
impl Unpin for TextColour
impl UnwindSafe for TextColour
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more