pub enum CollectionShape {
Tree,
Map,
}Expand description
Collection shape (access pattern).
Variants§
Trait Implementations§
Source§impl Clone for CollectionShape
impl Clone for CollectionShape
Source§fn clone(&self) -> CollectionShape
fn clone(&self) -> CollectionShape
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 CollectionShape
Source§impl Debug for CollectionShape
impl Debug for CollectionShape
impl Eq for CollectionShape
Source§impl PartialEq for CollectionShape
impl PartialEq for CollectionShape
Source§fn eq(&self, other: &CollectionShape) -> bool
fn eq(&self, other: &CollectionShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CollectionShape
impl Serialize for CollectionShape
impl StructuralPartialEq for CollectionShape
Auto Trait Implementations§
impl Freeze for CollectionShape
impl RefUnwindSafe for CollectionShape
impl Send for CollectionShape
impl Sync for CollectionShape
impl Unpin for CollectionShape
impl UnsafeUnpin for CollectionShape
impl UnwindSafe for CollectionShape
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