pub enum ConFields {
Positional(Vec<Type>),
Record(Vec<FieldDecl>),
}Expand description
Constructor fields.
Variants§
Positional(Vec<Type>)
Positional: Foo Int String
Record(Vec<FieldDecl>)
Record: Foo { bar :: Int, baz :: String }
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConFields
impl RefUnwindSafe for ConFields
impl Send for ConFields
impl Sync for ConFields
impl Unpin for ConFields
impl UnsafeUnpin for ConFields
impl UnwindSafe for ConFields
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