pub struct StyledLine {
pub spans: Vec<StyledSpan>,
}Expand description
A single line of highlighted output.
Fields§
§spans: Vec<StyledSpan>Trait Implementations§
Source§impl Clone for StyledLine
impl Clone for StyledLine
Source§fn clone(&self) -> StyledLine
fn clone(&self) -> StyledLine
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 moreAuto Trait Implementations§
impl Freeze for StyledLine
impl RefUnwindSafe for StyledLine
impl Send for StyledLine
impl Sync for StyledLine
impl Unpin for StyledLine
impl UnsafeUnpin for StyledLine
impl UnwindSafe for StyledLine
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