Enum rustc_mir::hair::pattern::BindingMode [−][src]
pub enum BindingMode<'tcx> {
ByValue,
ByRef(Region<'tcx>, BorrowKind),
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
ByValue🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ByRef(Region<'tcx>, BorrowKind)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'tcx> Copy for BindingMode<'tcx>[src]
impl<'tcx> Copy for BindingMode<'tcx>impl<'tcx> Clone for BindingMode<'tcx>[src]
impl<'tcx> Clone for BindingMode<'tcx>fn clone(&self) -> BindingMode<'tcx>[src]
fn clone(&self) -> BindingMode<'tcx>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'tcx> Debug for BindingMode<'tcx>[src]
impl<'tcx> Debug for BindingMode<'tcx>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx> PatternFoldable<'tcx> for BindingMode<'tcx>[src]
impl<'tcx> PatternFoldable<'tcx> for BindingMode<'tcx>fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self[src]
fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self[src]
fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl<'tcx> !Send for BindingMode<'tcx>
impl<'tcx> !Send for BindingMode<'tcx>impl<'tcx> !Sync for BindingMode<'tcx>
impl<'tcx> !Sync for BindingMode<'tcx>