pub enum RecordShape {
Unit,
Tuple,
Newtype,
Struct,
}Expand description
Exported shape of an aggregate.
Variants§
Unit
Unit record.
Tuple
Tuple record.
Newtype
One-field tuple struct or enum branch.
Struct
Named record.
Trait Implementations§
Source§impl Clone for RecordShape
impl Clone for RecordShape
impl Copy for RecordShape
Auto Trait Implementations§
impl Freeze for RecordShape
impl RefUnwindSafe for RecordShape
impl Send for RecordShape
impl Sync for RecordShape
impl Unpin for RecordShape
impl UnsafeUnpin for RecordShape
impl UnwindSafe for RecordShape
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