pub struct ShellAnnotation { /* private fields */ }
Implementations§
Source§impl ShellAnnotation
impl ShellAnnotation
pub fn style(style: impl Into<ShellStyle>) -> ShellAnnotation
Trait Implementations§
Source§impl Clone for ShellAnnotation
impl Clone for ShellAnnotation
Source§fn clone(&self) -> ShellAnnotation
fn clone(&self) -> ShellAnnotation
Returns a copy 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 ShellAnnotation
impl Debug for ShellAnnotation
Source§impl From<ShellAnnotation> for ColorSpec
impl From<ShellAnnotation> for ColorSpec
Source§fn from(ann: ShellAnnotation) -> ColorSpec
fn from(ann: ShellAnnotation) -> ColorSpec
Converts to this type from the input type.
Source§impl Hash for ShellAnnotation
impl Hash for ShellAnnotation
Source§impl Ord for ShellAnnotation
impl Ord for ShellAnnotation
Source§fn cmp(&self, other: &ShellAnnotation) -> Ordering
fn cmp(&self, other: &ShellAnnotation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShellAnnotation
impl PartialEq for ShellAnnotation
Source§impl PartialOrd for ShellAnnotation
impl PartialOrd for ShellAnnotation
Source§impl<'a, W> RenderAnnotated<ShellAnnotation> for TermColored<'a, W>where
W: WriteColor,
impl<'a, W> RenderAnnotated<ShellAnnotation> for TermColored<'a, W>where
W: WriteColor,
fn push_annotation(&mut self, ann: &ShellAnnotation) -> Result<(), Self::Error>
fn pop_annotation(&mut self) -> Result<(), Self::Error>
impl Copy for ShellAnnotation
impl Eq for ShellAnnotation
impl StructuralPartialEq for ShellAnnotation
Auto Trait Implementations§
impl Freeze for ShellAnnotation
impl RefUnwindSafe for ShellAnnotation
impl Send for ShellAnnotation
impl Sync for ShellAnnotation
impl Unpin for ShellAnnotation
impl UnwindSafe for ShellAnnotation
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