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