pub struct ReadonlyDocument<'a, T> { /* private fields */ }Expand description
Wraps section and property values after parsing Records their preceding documentation content and line numbers
Implementations§
Source§impl<'a, T> ReadonlyDocument<'a, T>
impl<'a, T> ReadonlyDocument<'a, T>
Trait Implementations§
Source§impl<'a, T: Clone> Clone for ReadonlyDocument<'a, T>
impl<'a, T: Clone> Clone for ReadonlyDocument<'a, T>
Source§fn clone(&self) -> ReadonlyDocument<'a, T>
fn clone(&self) -> ReadonlyDocument<'a, T>
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<T> Deref for ReadonlyDocument<'_, T>
impl<T> Deref for ReadonlyDocument<'_, T>
Source§impl<T: Display> Display for ReadonlyDocument<'_, T>
impl<T: Display> Display for ReadonlyDocument<'_, T>
Source§impl<S1, S2> From<ReadonlyDocument<'_, S1>> for EditableDocument<S2>where
S1: Into<S2>,
impl<S1, S2> From<ReadonlyDocument<'_, S1>> for EditableDocument<S2>where
S1: Into<S2>,
Source§fn from(value: ReadonlyDocument<'_, S1>) -> Self
fn from(value: ReadonlyDocument<'_, S1>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, T> Freeze for ReadonlyDocument<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for ReadonlyDocument<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ReadonlyDocument<'a, T>where
T: Send,
impl<'a, T> Sync for ReadonlyDocument<'a, T>where
T: Sync,
impl<'a, T> Unpin for ReadonlyDocument<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for ReadonlyDocument<'a, T>where
T: UnwindSafe,
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