pub enum DisplayMode {
Link,
Tooltip,
Both,
}Expand description
Output shape chosen for every linked glossary occurrence.
See the display-mode option in the README for the rendered HTML produced
by each variant.
Variants§
Link
<a href title class>term</a> — anchor with native browser tooltip.
Tooltip
<abbr title tabindex class>term</abbr> — tooltip only, no navigation.
Both
<a href class><abbr title tabindex>term</abbr></a> — anchor wrapping
a semantic abbreviation.
Trait Implementations§
Source§impl Clone for DisplayMode
impl Clone for DisplayMode
Source§fn clone(&self) -> DisplayMode
fn clone(&self) -> DisplayMode
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 DisplayMode
impl Debug for DisplayMode
Source§impl Default for DisplayMode
impl Default for DisplayMode
Source§fn default() -> DisplayMode
fn default() -> DisplayMode
Returns the “default value” for a type. Read more
Source§impl FromStr for DisplayMode
impl FromStr for DisplayMode
Source§impl PartialEq for DisplayMode
impl PartialEq for DisplayMode
Source§fn eq(&self, other: &DisplayMode) -> bool
fn eq(&self, other: &DisplayMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DisplayMode
impl Eq for DisplayMode
impl StructuralPartialEq for DisplayMode
Auto Trait Implementations§
impl Freeze for DisplayMode
impl RefUnwindSafe for DisplayMode
impl Send for DisplayMode
impl Sync for DisplayMode
impl Unpin for DisplayMode
impl UnsafeUnpin for DisplayMode
impl UnwindSafe for DisplayMode
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