pub struct ThemeSlot(pub u8);Expand description
A theme colour slot: the viewer resolves it to its current theme, so a plugin follows the user’s terminal colours and “receded” (grayed out) text stays readable on every background.
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
impl Copy for ThemeSlot
impl Eq for ThemeSlot
impl StructuralPartialEq for ThemeSlot
Auto Trait Implementations§
impl Freeze for ThemeSlot
impl RefUnwindSafe for ThemeSlot
impl Send for ThemeSlot
impl Sync for ThemeSlot
impl Unpin for ThemeSlot
impl UnsafeUnpin for ThemeSlot
impl UnwindSafe for ThemeSlot
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