pub struct ColourCmd {
pub name: String,
pub code: u32,
pub value: Color,
pub edge: Color,
pub alpha: Option<u8>,
pub luminance: Option<u8>,
pub finish: Option<ColorFinish>,
}Expand description
Line Type 0 META command: !COLOUR language extension.
Fields§
§name: StringName of the color.
code: u32Color code uniquely identifying this color. Codes 16 and 24 are reserved.
value: ColorPrimary value of the color.
edge: ColorContrasting edge value of the color.
alpha: Option<u8>Optional alpha (opacity) value.
luminance: Option<u8>Optional “brightness for colors that glow”.
finish: Option<ColorFinish>Finish/texture of the object for high-fidelity rendering.
Trait Implementations§
impl StructuralPartialEq for ColourCmd
Auto Trait Implementations§
impl Freeze for ColourCmd
impl RefUnwindSafe for ColourCmd
impl Send for ColourCmd
impl Sync for ColourCmd
impl Unpin for ColourCmd
impl UnwindSafe for ColourCmd
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