pub struct InlineVersionRef {
pub line: usize,
pub version: DocVersion,
}Expand description
One (Update, vX.Y…) note found in an ADR body.
Fields§
§line: usize1-based line number in the file, frontmatter included.
version: DocVersionThe document version the note names.
Trait Implementations§
Source§impl Clone for InlineVersionRef
impl Clone for InlineVersionRef
Source§fn clone(&self) -> InlineVersionRef
fn clone(&self) -> InlineVersionRef
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 InlineVersionRef
impl Debug for InlineVersionRef
impl Eq for InlineVersionRef
Source§impl PartialEq for InlineVersionRef
impl PartialEq for InlineVersionRef
impl StructuralPartialEq for InlineVersionRef
Auto Trait Implementations§
impl Freeze for InlineVersionRef
impl RefUnwindSafe for InlineVersionRef
impl Send for InlineVersionRef
impl Sync for InlineVersionRef
impl Unpin for InlineVersionRef
impl UnsafeUnpin for InlineVersionRef
impl UnwindSafe for InlineVersionRef
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.