pub struct TerminalPaletteIndex(/* private fields */);Expand description
A terminal palette index accepted by OSC 4.
OSC 4 addresses the 256-entry terminal palette. Keeping the bound in a type prevents arbitrary OSC bodies from being reflected through the outer terminal query path.
Implementations§
Trait Implementations§
Source§impl Clone for TerminalPaletteIndex
impl Clone for TerminalPaletteIndex
Source§fn clone(&self) -> TerminalPaletteIndex
fn clone(&self) -> TerminalPaletteIndex
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 TerminalPaletteIndex
Source§impl Debug for TerminalPaletteIndex
impl Debug for TerminalPaletteIndex
impl Eq for TerminalPaletteIndex
Source§impl From<u8> for TerminalPaletteIndex
impl From<u8> for TerminalPaletteIndex
Source§impl Hash for TerminalPaletteIndex
impl Hash for TerminalPaletteIndex
Source§impl PartialEq for TerminalPaletteIndex
impl PartialEq for TerminalPaletteIndex
impl StructuralPartialEq for TerminalPaletteIndex
Auto Trait Implementations§
impl Freeze for TerminalPaletteIndex
impl RefUnwindSafe for TerminalPaletteIndex
impl Send for TerminalPaletteIndex
impl Sync for TerminalPaletteIndex
impl Unpin for TerminalPaletteIndex
impl UnsafeUnpin for TerminalPaletteIndex
impl UnwindSafe for TerminalPaletteIndex
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