pub enum CtorKind {
Variant {
enum_id: u32,
variant_idx: u32,
},
Struct {
struct_id: u32,
},
Tuple(usize),
Array(usize),
Slice {
min_len: usize,
has_rest: bool,
},
Box,
Ref {
mutable: bool,
},
}Expand description
Constructor kinds
Variants§
Variant
Enum variant
Struct
Struct
Tuple(usize)
Tuple
Array(usize)
Array
Slice
Slice
Box
Box
Ref
Reference
Implementations§
Trait Implementations§
impl Eq for CtorKind
impl StructuralPartialEq for CtorKind
Auto Trait Implementations§
impl Freeze for CtorKind
impl RefUnwindSafe for CtorKind
impl Send for CtorKind
impl Sync for CtorKind
impl Unpin for CtorKind
impl UnwindSafe for CtorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.