pub enum StructKind {
    Empty,
    Tuple(Vec<Ty>),
    Struct(Vec<StructMember>),
}Expand description
Either a Struct’s StructMembers or tuple Types, if present.
Variants§
Trait Implementations§
Source§impl Clone for StructKind
 
impl Clone for StructKind
Source§fn clone(&self) -> StructKind
 
fn clone(&self) -> StructKind
Returns a duplicate 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 StructKind
 
impl Debug for StructKind
Source§impl Display for StructKind
 
impl Display for StructKind
Source§impl Hash for StructKind
 
impl Hash for StructKind
Source§impl PartialEq for StructKind
 
impl PartialEq for StructKind
Source§impl Walk for StructKind
 
impl Walk for StructKind
Source§impl WeightOf for StructKind
 
impl WeightOf for StructKind
impl Eq for StructKind
impl StructuralPartialEq for StructKind
Auto Trait Implementations§
impl Freeze for StructKind
impl RefUnwindSafe for StructKind
impl Send for StructKind
impl Sync for StructKind
impl Unpin for StructKind
impl UnwindSafe for StructKind
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