pub struct SectionOrigin {
pub id: Option<String>,
pub position: Position,
}Expand description
A containing section, including unnamed sections and their source position.
Fields§
§id: Option<String>§position: PositionTrait Implementations§
Source§impl Clone for SectionOrigin
impl Clone for SectionOrigin
Source§fn clone(&self) -> SectionOrigin
fn clone(&self) -> SectionOrigin
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 SectionOrigin
impl Debug for SectionOrigin
impl Eq for SectionOrigin
Source§impl PartialEq for SectionOrigin
impl PartialEq for SectionOrigin
Source§fn eq(&self, other: &SectionOrigin) -> bool
fn eq(&self, other: &SectionOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SectionOrigin
impl Serialize for SectionOrigin
impl StructuralPartialEq for SectionOrigin
Auto Trait Implementations§
impl Freeze for SectionOrigin
impl RefUnwindSafe for SectionOrigin
impl Send for SectionOrigin
impl Sync for SectionOrigin
impl Unpin for SectionOrigin
impl UnsafeUnpin for SectionOrigin
impl UnwindSafe for SectionOrigin
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