#[non_exhaustive]pub enum LinkStyle {
Inlined,
Referenced,
}Expand description
Style for rendering links.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inlined
Inline links: [text](url "title").
Referenced
Reference-style links: [text][id] with a footer [id]: url "title".
Trait Implementations§
impl Copy for LinkStyle
impl Eq for LinkStyle
impl StructuralPartialEq for LinkStyle
Auto Trait Implementations§
impl Freeze for LinkStyle
impl RefUnwindSafe for LinkStyle
impl Send for LinkStyle
impl Sync for LinkStyle
impl Unpin for LinkStyle
impl UnsafeUnpin for LinkStyle
impl UnwindSafe for LinkStyle
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