pub enum LinkTruncationStyle {
Wrap,
Cut,
TableCut,
None,
}Variants§
Wrap
Wrap links when they don’t fit
Cut
Cut links and replace with “…” when they don’t fit
TableCut
Cut links in normal flow and inside table cells
None
No truncation - links overflow horizontally
Trait Implementations§
Source§impl Clone for LinkTruncationStyle
impl Clone for LinkTruncationStyle
Source§fn clone(&self) -> LinkTruncationStyle
fn clone(&self) -> LinkTruncationStyle
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 LinkTruncationStyle
impl Debug for LinkTruncationStyle
Source§impl<'de> Deserialize<'de> for LinkTruncationStyle
impl<'de> Deserialize<'de> for LinkTruncationStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LinkTruncationStyle
impl Serialize for LinkTruncationStyle
Source§impl ValueEnum for LinkTruncationStyle
impl ValueEnum for LinkTruncationStyle
Auto Trait Implementations§
impl Freeze for LinkTruncationStyle
impl RefUnwindSafe for LinkTruncationStyle
impl Send for LinkTruncationStyle
impl Sync for LinkTruncationStyle
impl Unpin for LinkTruncationStyle
impl UnsafeUnpin for LinkTruncationStyle
impl UnwindSafe for LinkTruncationStyle
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