pub enum LinkDestinationKind {
Bare,
Angle,
Omitted,
}Expand description
How a link/image destination was delimited in the source.
Variants§
Bare
A bare destination: (url).
Angle
An angle-bracketed destination: (<url>).
Omitted
No destination present: ().
Trait Implementations§
Source§impl Clone for LinkDestinationKind
impl Clone for LinkDestinationKind
Source§fn clone(&self) -> LinkDestinationKind
fn clone(&self) -> LinkDestinationKind
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 LinkDestinationKind
Source§impl Debug for LinkDestinationKind
impl Debug for LinkDestinationKind
impl Eq for LinkDestinationKind
Source§impl PartialEq for LinkDestinationKind
impl PartialEq for LinkDestinationKind
Source§fn eq(&self, other: &LinkDestinationKind) -> bool
fn eq(&self, other: &LinkDestinationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinkDestinationKind
Auto Trait Implementations§
impl Freeze for LinkDestinationKind
impl RefUnwindSafe for LinkDestinationKind
impl Send for LinkDestinationKind
impl Sync for LinkDestinationKind
impl Unpin for LinkDestinationKind
impl UnsafeUnpin for LinkDestinationKind
impl UnwindSafe for LinkDestinationKind
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