pub struct HighlightedLine {
pub spans: Vec<HighlightedSpan>,
}Expand description
highlight済みの1行。
Fields§
§spans: Vec<HighlightedSpan>Trait Implementations§
Source§impl Clone for HighlightedLine
impl Clone for HighlightedLine
Source§fn clone(&self) -> HighlightedLine
fn clone(&self) -> HighlightedLine
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 moreSource§impl Debug for HighlightedLine
impl Debug for HighlightedLine
Source§impl Default for HighlightedLine
impl Default for HighlightedLine
Source§fn default() -> HighlightedLine
fn default() -> HighlightedLine
Returns the “default value” for a type. Read more
impl Eq for HighlightedLine
Source§impl PartialEq for HighlightedLine
impl PartialEq for HighlightedLine
impl StructuralPartialEq for HighlightedLine
Auto Trait Implementations§
impl Freeze for HighlightedLine
impl RefUnwindSafe for HighlightedLine
impl Send for HighlightedLine
impl Sync for HighlightedLine
impl Unpin for HighlightedLine
impl UnsafeUnpin for HighlightedLine
impl UnwindSafe for HighlightedLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.