pub struct AnnotatedRegion {
pub source_lines: Vec<SourceLine>,
pub underline: Option<Underline>,
}Fields§
§source_lines: Vec<SourceLine>§underline: Option<Underline>Implementations§
Trait Implementations§
Source§impl Clone for AnnotatedRegion
impl Clone for AnnotatedRegion
Source§fn clone(&self) -> AnnotatedRegion
fn clone(&self) -> AnnotatedRegion
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 AnnotatedRegion
impl Debug for AnnotatedRegion
Auto Trait Implementations§
impl Freeze for AnnotatedRegion
impl RefUnwindSafe for AnnotatedRegion
impl Send for AnnotatedRegion
impl Sync for AnnotatedRegion
impl Unpin for AnnotatedRegion
impl UnsafeUnpin for AnnotatedRegion
impl UnwindSafe for AnnotatedRegion
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