pub enum ReferenceKind {
Full,
Collapsed,
Shortcut,
}Expand description
The form of a reference link/image.
Variants§
Full
Full reference: [text][label].
Collapsed
Collapsed reference: [label][].
Shortcut
Shortcut reference: [label].
Trait Implementations§
Source§impl Clone for ReferenceKind
impl Clone for ReferenceKind
Source§fn clone(&self) -> ReferenceKind
fn clone(&self) -> ReferenceKind
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 moreimpl Copy for ReferenceKind
Source§impl Debug for ReferenceKind
impl Debug for ReferenceKind
impl Eq for ReferenceKind
Source§impl PartialEq for ReferenceKind
impl PartialEq for ReferenceKind
Source§fn eq(&self, other: &ReferenceKind) -> bool
fn eq(&self, other: &ReferenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReferenceKind
Auto Trait Implementations§
impl Freeze for ReferenceKind
impl RefUnwindSafe for ReferenceKind
impl Send for ReferenceKind
impl Sync for ReferenceKind
impl Unpin for ReferenceKind
impl UnsafeUnpin 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