pub enum AutolinkOrigin {
CommonMark,
GfmUrl,
GfmEmail,
}Expand description
Where an autolink came from.
Variants§
Trait Implementations§
Source§impl Clone for AutolinkOrigin
impl Clone for AutolinkOrigin
Source§fn clone(&self) -> AutolinkOrigin
fn clone(&self) -> AutolinkOrigin
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 AutolinkOrigin
impl Debug for AutolinkOrigin
Source§impl PartialEq for AutolinkOrigin
impl PartialEq for AutolinkOrigin
Source§fn eq(&self, other: &AutolinkOrigin) -> bool
fn eq(&self, other: &AutolinkOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AutolinkOrigin
impl Eq for AutolinkOrigin
impl StructuralPartialEq for AutolinkOrigin
Auto Trait Implementations§
impl Freeze for AutolinkOrigin
impl RefUnwindSafe for AutolinkOrigin
impl Send for AutolinkOrigin
impl Sync for AutolinkOrigin
impl Unpin for AutolinkOrigin
impl UnsafeUnpin for AutolinkOrigin
impl UnwindSafe for AutolinkOrigin
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