pub struct ListFormat {
pub style: Option<ListStyle>,
pub indent: Option<u8>,
pub prefix: Option<String>,
pub suffix: Option<String>,
}Expand description
List formatting. All fields are optional: None means
“not set — don’t change this property.”
Fields§
§style: Option<ListStyle>§indent: Option<u8>§prefix: Option<String>§suffix: Option<String>Trait Implementations§
Source§impl Clone for ListFormat
impl Clone for ListFormat
Source§fn clone(&self) -> ListFormat
fn clone(&self) -> ListFormat
Returns a duplicate 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 ListFormat
impl Debug for ListFormat
Source§impl Default for ListFormat
impl Default for ListFormat
Source§fn default() -> ListFormat
fn default() -> ListFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListFormat
impl PartialEq for ListFormat
impl Eq for ListFormat
impl StructuralPartialEq for ListFormat
Auto Trait Implementations§
impl Freeze for ListFormat
impl RefUnwindSafe for ListFormat
impl Send for ListFormat
impl Sync for ListFormat
impl Unpin for ListFormat
impl UnsafeUnpin for ListFormat
impl UnwindSafe for ListFormat
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