Enum rustc_save_analysis::ty::adjustment::AutoBorrowMutability [−][src]
pub enum AutoBorrowMutability {
Mut {
allow_two_phase_borrow: AllowTwoPhase,
},
Not,
}Variants
Mut
Fields
allow_two_phase_borrow: AllowTwoPhaseNot
Auto Trait Implementations
impl RefUnwindSafe for AutoBorrowMutability
impl Send for AutoBorrowMutability
impl Sync for AutoBorrowMutability
impl Unpin for AutoBorrowMutability
impl UnwindSafe for AutoBorrowMutability
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: 1 byte
Size for each variant:
Mut: 1 byteNot: 0 bytes