pub struct TextBlock<'source> { /* private fields */ }Expand description
Text blocks encapsulate a text node with start and end ranges; used primarily for comments.
Implementations§
Trait Implementations§
impl<'source> Eq for TextBlock<'source>
impl<'source> StructuralPartialEq for TextBlock<'source>
Auto Trait Implementations§
impl<'source> Freeze for TextBlock<'source>
impl<'source> RefUnwindSafe for TextBlock<'source>
impl<'source> Send for TextBlock<'source>
impl<'source> Sync for TextBlock<'source>
impl<'source> Unpin for TextBlock<'source>
impl<'source> UnwindSafe for TextBlock<'source>
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