Enum rustc_typeck::ty::BindingMode [−][src]
pub enum BindingMode {
BindByReference(Mutability),
BindByValue(Mutability),
}Variants
BindByReference(Mutability)
Tuple Fields
0: MutabilityBindByValue(Mutability)
Tuple Fields
0: MutabilityAuto Trait Implementations
impl RefUnwindSafe for BindingMode
impl Send for BindingMode
impl Sync for BindingMode
impl Unpin for BindingMode
impl UnwindSafe for BindingMode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 2 bytes
Size for each variant:
BindByReference: 1 byteBindByValue: 1 byte