#[non_exhaustive]pub enum TableUnindentStyle {
Left,
Auto,
Floating,
None,
}Expand description
Controls how tables are horizontally repositioned using /< /> indent-offset glyphs.
The overflow decision is always made against the table as rendered at its natural indent, before any table-fold continuations are applied.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Left
Push the table to visual indent 0 using /< /> glyphs, unless already there.
Applies regardless of wrap_width.
Auto
Push to visual indent 0 only when the table overflows wrap_width at its natural
indent. If the table would still overflow even at indent 0, glyphs are not used.
With unlimited width this is effectively None. Default.
Floating
Push left by the minimum amount needed to fit within wrap_width — not necessarily
all the way to 0. If the table fits at its natural indent, nothing moves. With
unlimited width this is effectively None.
None
Never apply indent-offset glyphs to tables, even if the table overflows wrap_width
or would otherwise not be rendered.
Trait Implementations§
Source§impl Clone for TableUnindentStyle
impl Clone for TableUnindentStyle
Source§fn clone(&self) -> TableUnindentStyle
fn clone(&self) -> TableUnindentStyle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TableUnindentStyle
impl Debug for TableUnindentStyle
Source§impl Default for TableUnindentStyle
impl Default for TableUnindentStyle
Source§fn default() -> TableUnindentStyle
fn default() -> TableUnindentStyle
Source§impl<'de> Deserialize<'de> for TableUnindentStyle
impl<'de> Deserialize<'de> for TableUnindentStyle
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>,
Source§impl FromStr for TableUnindentStyle
impl FromStr for TableUnindentStyle
Source§impl PartialEq for TableUnindentStyle
impl PartialEq for TableUnindentStyle
Source§impl Serialize for TableUnindentStyle
impl Serialize for TableUnindentStyle
impl Copy for TableUnindentStyle
impl Eq for TableUnindentStyle
impl StructuralPartialEq for TableUnindentStyle
Auto Trait Implementations§
impl Freeze for TableUnindentStyle
impl RefUnwindSafe for TableUnindentStyle
impl Send for TableUnindentStyle
impl Sync for TableUnindentStyle
impl Unpin for TableUnindentStyle
impl UnsafeUnpin for TableUnindentStyle
impl UnwindSafe for TableUnindentStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.