#[repr(C)]pub union StyleColorValue {
pub palette: ColorPaletteIndex,
pub rgb: ColorRgb,
pub _padding: u64,
}Expand description
Style color value union.
Use the tag to determine which field is active.
Fields§
§palette: ColorPaletteIndex§rgb: ColorRgb§_padding: u64Trait Implementations§
Source§impl Clone for StyleColorValue
impl Clone for StyleColorValue
impl Copy for StyleColorValue
Auto Trait Implementations§
impl Freeze for StyleColorValue
impl RefUnwindSafe for StyleColorValue
impl Send for StyleColorValue
impl Sync for StyleColorValue
impl Unpin for StyleColorValue
impl UnsafeUnpin for StyleColorValue
impl UnwindSafe for StyleColorValue
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