pub struct RowAnnotation {
pub text: String,
pub spans: Vec<RowSpan>,
}Expand description
Fields§
§text: StringThe hung line’s text (one line; it is not part of any source file).
spans: Vec<RowSpan>Styled runs, as byte offsets into text.
Trait Implementations§
Source§impl Clone for RowAnnotation
impl Clone for RowAnnotation
Source§fn clone(&self) -> RowAnnotation
fn clone(&self) -> RowAnnotation
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 RowAnnotation
impl Debug for RowAnnotation
Source§impl Default for RowAnnotation
impl Default for RowAnnotation
Source§fn default() -> RowAnnotation
fn default() -> RowAnnotation
Returns the “default value” for a type. Read more
impl Eq for RowAnnotation
Source§impl PartialEq for RowAnnotation
impl PartialEq for RowAnnotation
impl StructuralPartialEq for RowAnnotation
Auto Trait Implementations§
impl Freeze for RowAnnotation
impl RefUnwindSafe for RowAnnotation
impl Send for RowAnnotation
impl Sync for RowAnnotation
impl Unpin for RowAnnotation
impl UnsafeUnpin for RowAnnotation
impl UnwindSafe for RowAnnotation
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.