pub struct TextPreview { /* private fields */ }Expand description
A bounded diagnostic rendering of source text.
Implementations§
Trait Implementations§
Source§impl Clone for TextPreview
impl Clone for TextPreview
Source§fn clone(&self) -> TextPreview
fn clone(&self) -> TextPreview
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 TextPreview
impl Debug for TextPreview
impl Eq for TextPreview
Source§impl PartialEq for TextPreview
impl PartialEq for TextPreview
Source§impl Serialize for TextPreview
impl Serialize for TextPreview
impl StructuralPartialEq for TextPreview
Auto Trait Implementations§
impl Freeze for TextPreview
impl RefUnwindSafe for TextPreview
impl Send for TextPreview
impl Sync for TextPreview
impl Unpin for TextPreview
impl UnsafeUnpin for TextPreview
impl UnwindSafe for TextPreview
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