Enum markdown::mdast::ReferenceKind
source · pub enum ReferenceKind {
Shortcut,
Collapsed,
Full,
}
Expand description
Explicitness of a reference.
Variants§
Shortcut
The reference is implicit, its identifier inferred from its content.
Collapsed
The reference is explicit, its identifier inferred from its content.
Full
The reference is explicit, its identifier explicitly set.
Trait Implementations§
source§impl Clone for ReferenceKind
impl Clone for ReferenceKind
source§fn clone(&self) -> ReferenceKind
fn clone(&self) -> ReferenceKind
Returns a copy 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 ReferenceKind
impl Debug for ReferenceKind
source§impl PartialEq for ReferenceKind
impl PartialEq for ReferenceKind
source§fn eq(&self, other: &ReferenceKind) -> bool
fn eq(&self, other: &ReferenceKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReferenceKind
impl Eq for ReferenceKind
impl StructuralEq for ReferenceKind
impl StructuralPartialEq for ReferenceKind
Auto Trait Implementations§
impl RefUnwindSafe for ReferenceKind
impl Send for ReferenceKind
impl Sync for ReferenceKind
impl Unpin for ReferenceKind
impl UnwindSafe for ReferenceKind
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