#[non_exhaustive]pub struct ThematicBreak {
pub anchors: Vec<Anchor>,
pub title: Title,
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>§title: Title§location: LocationTrait Implementations§
Source§impl Clone for ThematicBreak
impl Clone for ThematicBreak
Source§fn clone(&self) -> ThematicBreak
fn clone(&self) -> ThematicBreak
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 Debug for ThematicBreak
impl Debug for ThematicBreak
Source§impl Default for ThematicBreak
impl Default for ThematicBreak
Source§fn default() -> ThematicBreak
fn default() -> ThematicBreak
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThematicBreak
impl PartialEq for ThematicBreak
Source§impl Serialize for ThematicBreak
impl Serialize for ThematicBreak
impl StructuralPartialEq for ThematicBreak
Auto Trait Implementations§
impl Freeze for ThematicBreak
impl RefUnwindSafe for ThematicBreak
impl Send for ThematicBreak
impl Sync for ThematicBreak
impl Unpin for ThematicBreak
impl UnwindSafe for ThematicBreak
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