Struct bracket_terminal::prelude::XpColor [−][src]
Expand description
Structure representing the components of one color
Fields
r: u8Red component 0..255
g: u8Green component 0..255
b: u8Blue component 0..255
Implementations
color 0xff00ff (hot pink) is regarded as transparent
Return whether this color is considered transparent (if this is the background color of a cell, the layer below it will see through)
Read a RGB color from a ReadBytesExt
Errors
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for XpColorimpl UnwindSafe for XpColorBlanket Implementations
Mutably borrows from an owned value. Read more