pub enum CollectionStyle {
Auto,
Flow,
Block,
}Expand description
Whether a collection was written inline or as an indented block.
Variants§
Trait Implementations§
Source§impl Clone for CollectionStyle
impl Clone for CollectionStyle
Source§fn clone(&self) -> CollectionStyle
fn clone(&self) -> CollectionStyle
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 moreimpl Copy for CollectionStyle
Source§impl Debug for CollectionStyle
impl Debug for CollectionStyle
Source§impl Default for CollectionStyle
impl Default for CollectionStyle
Source§fn default() -> CollectionStyle
fn default() -> CollectionStyle
Returns the “default value” for a type. Read more
impl Eq for CollectionStyle
Source§impl PartialEq for CollectionStyle
impl PartialEq for CollectionStyle
impl StructuralPartialEq for CollectionStyle
Auto Trait Implementations§
impl Freeze for CollectionStyle
impl RefUnwindSafe for CollectionStyle
impl Send for CollectionStyle
impl Sync for CollectionStyle
impl Unpin for CollectionStyle
impl UnsafeUnpin for CollectionStyle
impl UnwindSafe for CollectionStyle
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