pub struct SimpleBlock<'src>(/* private fields */);Expand description
A block that’s treated as contiguous lines of paragraph text (and subject to normal substitutions) (e.g., a paragraph block).
Implementations§
Trait Implementations§
Source§impl<'src> Clone for SimpleBlock<'src>
impl<'src> Clone for SimpleBlock<'src>
Source§fn clone(&self) -> SimpleBlock<'src>
fn clone(&self) -> SimpleBlock<'src>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'src> Debug for SimpleBlock<'src>
impl<'src> Debug for SimpleBlock<'src>
Source§impl<'src> HasSpan<'src> for SimpleBlock<'src>
impl<'src> HasSpan<'src> for SimpleBlock<'src>
Source§impl<'src> IsBlock<'src> for SimpleBlock<'src>
impl<'src> IsBlock<'src> for SimpleBlock<'src>
Source§fn content_model(&self) -> ContentModel
fn content_model(&self) -> ContentModel
Returns the ContentModel for this block.
Source§impl<'src> PartialEq for SimpleBlock<'src>
impl<'src> PartialEq for SimpleBlock<'src>
impl<'src> Eq for SimpleBlock<'src>
impl<'src> StructuralPartialEq for SimpleBlock<'src>
Auto Trait Implementations§
impl<'src> Freeze for SimpleBlock<'src>
impl<'src> RefUnwindSafe for SimpleBlock<'src>
impl<'src> Send for SimpleBlock<'src>
impl<'src> Sync for SimpleBlock<'src>
impl<'src> Unpin for SimpleBlock<'src>
impl<'src> UnwindSafe for SimpleBlock<'src>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)