pub type PreciseCapturingArg<'hir> = PreciseCapturingArgKind<&'hir Lifetime, PreciseCapturingNonLifetimeArg>;
Aliased Type§
enum PreciseCapturingArg<'hir> {
Lifetime(&'hir Lifetime),
Param(PreciseCapturingNonLifetimeArg),
}
Variants§
Lifetime(&'hir Lifetime)
Param(PreciseCapturingNonLifetimeArg)
Non-lifetime argument (type or const)
Implementations§
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:
Lifetime
: 16 bytesParam
: 32 bytes
Trait Implementations
Source§impl<T: Clone, U: Clone> Clone for PreciseCapturingArgKind<T, U>
impl<T: Clone, U: Clone> Clone for PreciseCapturingArgKind<T, U>
Source§fn clone(&self) -> PreciseCapturingArgKind<T, U>
fn clone(&self) -> PreciseCapturingArgKind<T, U>
Returns a copy 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 more