#[repr(C)]pub struct GhosttyColorRgb {
pub r: u8,
pub g: u8,
pub b: u8,
}Expand description
RGB color value.
@ingroup sgr
Fields§
§r: u8< Red component (0-255)
g: u8< Green component (0-255)
b: u8< Blue component (0-255)
Trait Implementations§
Source§impl Clone for GhosttyColorRgb
impl Clone for GhosttyColorRgb
Source§fn clone(&self) -> GhosttyColorRgb
fn clone(&self) -> GhosttyColorRgb
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 GhosttyColorRgb
impl Debug for GhosttyColorRgb
Source§impl Default for GhosttyColorRgb
impl Default for GhosttyColorRgb
Source§fn default() -> GhosttyColorRgb
fn default() -> GhosttyColorRgb
Returns the “default value” for a type. Read more
impl Copy for GhosttyColorRgb
Auto Trait Implementations§
impl Freeze for GhosttyColorRgb
impl RefUnwindSafe for GhosttyColorRgb
impl Send for GhosttyColorRgb
impl Sync for GhosttyColorRgb
impl Unpin for GhosttyColorRgb
impl UnsafeUnpin for GhosttyColorRgb
impl UnwindSafe for GhosttyColorRgb
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