pub enum GenericArgsInfo {
MissingLifetimes {
num_missing_args: usize,
},
ExcessLifetimes {
num_redundant_args: usize,
},
MissingTypesOrConsts {
num_missing_args: usize,
num_default_params: usize,
args_offset: usize,
},
ExcessTypesOrConsts {
num_redundant_args: usize,
num_default_params: usize,
args_offset: usize,
},
}Variants
MissingLifetimes
Fields
num_missing_args: usizeExcessLifetimes
Fields
num_redundant_args: usizeMissingTypesOrConsts
ExcessTypesOrConsts
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenericArgsInfo
impl Send for GenericArgsInfo
impl Sync for GenericArgsInfo
impl Unpin for GenericArgsInfo
impl UnwindSafe for GenericArgsInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
MissingLifetimes: 8 bytesExcessLifetimes: 8 bytesMissingTypesOrConsts: 24 bytesExcessTypesOrConsts: 24 bytes