pub struct BindingAnnotation(pub ByRef, pub Mutability);
Explicit binding annotations given in the HIR for a binding. Note that this is not the final binding mode that we infer after type inference.
Auto Trait Implementations§
impl RefUnwindSafe for BindingAnnotation
impl Send for BindingAnnotation
impl Sync for BindingAnnotation
impl Unpin for BindingAnnotation
impl UnwindSafe for BindingAnnotation
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere T: Copy,
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.