#[repr(C)]pub struct ColorX11Entry {
pub name: *const c_char,
pub color: ColorRgb,
}Expand description
An entry in Ghostty’s X11 color name table.
Fields§
§name: *const c_charNull-terminated color name. NULL marks the end of the table.
color: ColorRgbThe RGB value of the color.
Trait Implementations§
Source§impl Clone for ColorX11Entry
impl Clone for ColorX11Entry
Source§fn clone(&self) -> ColorX11Entry
fn clone(&self) -> ColorX11Entry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ColorX11Entry
Source§impl Debug for ColorX11Entry
impl Debug for ColorX11Entry
Auto Trait Implementations§
impl !Send for ColorX11Entry
impl !Sync for ColorX11Entry
impl Freeze for ColorX11Entry
impl RefUnwindSafe for ColorX11Entry
impl Unpin for ColorX11Entry
impl UnsafeUnpin for ColorX11Entry
impl UnwindSafe for ColorX11Entry
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