pub enum ListItemsIndentationMode {
FirstLineOnly,
Block,
}
Expand description
Describe how list items are indented when the item has to be wrapped: either only the first line (the one with the bullet) or the whole item as a block.
FirstLineOnly is more compact, but Block is prettier and more readable.
Variants§
Trait Implementations§
source§impl Clone for ListItemsIndentationMode
impl Clone for ListItemsIndentationMode
source§fn clone(&self) -> ListItemsIndentationMode
fn clone(&self) -> ListItemsIndentationMode
Returns a copy of the value. Read more
1.0.0 · 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 ListItemsIndentationMode
impl Debug for ListItemsIndentationMode
source§impl Default for ListItemsIndentationMode
impl Default for ListItemsIndentationMode
source§fn default() -> ListItemsIndentationMode
fn default() -> ListItemsIndentationMode
Returns the “default value” for a type. Read more
source§impl PartialEq for ListItemsIndentationMode
impl PartialEq for ListItemsIndentationMode
impl Copy for ListItemsIndentationMode
impl StructuralPartialEq for ListItemsIndentationMode
Auto Trait Implementations§
impl Freeze for ListItemsIndentationMode
impl RefUnwindSafe for ListItemsIndentationMode
impl Send for ListItemsIndentationMode
impl Sync for ListItemsIndentationMode
impl Unpin for ListItemsIndentationMode
impl UnwindSafe for ListItemsIndentationMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)