pub enum CommaStyle {
None,
Separating,
Terminating,
}
Expand description
Specifies a comma style for printing using TextWriter.
Variants§
None
No commas will be printed. (Preserves text syntax treats commas as whitespace (!).)
Separating
Commas will be used to separate subterms.
Terminating
Commas will be used to terminate subterms.
Trait Implementations§
source§impl Clone for CommaStyle
impl Clone for CommaStyle
source§fn clone(&self) -> CommaStyle
fn clone(&self) -> CommaStyle
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 CommaStyle
impl Debug for CommaStyle
source§impl Default for CommaStyle
impl Default for CommaStyle
impl Copy for CommaStyle
Auto Trait Implementations§
impl Freeze for CommaStyle
impl RefUnwindSafe for CommaStyle
impl Send for CommaStyle
impl Sync for CommaStyle
impl Unpin for CommaStyle
impl UnwindSafe for CommaStyle
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