Enum rustc_mir::hair::pattern::_match::WitnessPreference [−][src]
pub enum WitnessPreference {
ConstructWitness,
LeaveOutWitness,
}🔬 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
ConstructWitness🔬 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?
LeaveOutWitness🔬 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 Copy for WitnessPreference[src]
impl Copy for WitnessPreferenceimpl Clone for WitnessPreference[src]
impl Clone for WitnessPreferencefn clone(&self) -> WitnessPreference[src]
fn clone(&self) -> WitnessPreferenceReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for WitnessPreference
impl Send for WitnessPreferenceimpl Sync for WitnessPreference
impl Sync for WitnessPreference