Enum rustc_mir::hair::pattern::_match::Usefulness [−][src]
🔬 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
Useful
🔬 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?
UsefulWithWitness(Vec<Witness<'tcx>>)
🔬 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?
NotUseful
🔬 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?
Methods
impl<'tcx> Usefulness<'tcx>
[src]
impl<'tcx> Usefulness<'tcx>
fn is_useful(&self) -> bool
[src]
fn is_useful(&self) -> bool
🔬 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> Clone for Usefulness<'tcx>
[src]
impl<'tcx> Clone for Usefulness<'tcx>
fn clone(&self) -> Usefulness<'tcx>
[src]
fn clone(&self) -> Usefulness<'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
Auto Trait Implementations
impl<'tcx> !Send for Usefulness<'tcx>
impl<'tcx> !Send for Usefulness<'tcx>
impl<'tcx> !Sync for Usefulness<'tcx>
impl<'tcx> !Sync for Usefulness<'tcx>