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,
synth_provided: bool,
},
}
Variants§
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§
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
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
: 15 bytesExcessLifetimes
: 15 bytesMissingTypesOrConsts
: 31 bytesExcessTypesOrConsts
: 31 bytes