#[non_exhaustive]pub struct ThematicBreak<'a> {
pub anchors: Vec<Anchor<'a>>,
pub title: Title<'a>,
pub location: Location,
}Expand description
A ThematicBreak represents a thematic break in a document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.anchors: Vec<Anchor<'a>>§title: Title<'a>§location: LocationTrait Implementations§
Source§impl<'a> Clone for ThematicBreak<'a>
impl<'a> Clone for ThematicBreak<'a>
Source§fn clone(&self) -> ThematicBreak<'a>
fn clone(&self) -> ThematicBreak<'a>
Returns a duplicate 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<'a> Debug for ThematicBreak<'a>
impl<'a> Debug for ThematicBreak<'a>
Source§impl<'a> Default for ThematicBreak<'a>
impl<'a> Default for ThematicBreak<'a>
Source§fn default() -> ThematicBreak<'a>
fn default() -> ThematicBreak<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for ThematicBreak<'a>
impl<'a> PartialEq for ThematicBreak<'a>
Source§impl Serialize for ThematicBreak<'_>
impl Serialize for ThematicBreak<'_>
impl<'a> StructuralPartialEq for ThematicBreak<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThematicBreak<'a>
impl<'a> RefUnwindSafe for ThematicBreak<'a>
impl<'a> Send for ThematicBreak<'a>
impl<'a> Sync for ThematicBreak<'a>
impl<'a> Unpin for ThematicBreak<'a>
impl<'a> UnsafeUnpin for ThematicBreak<'a>
impl<'a> UnwindSafe for ThematicBreak<'a>
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