Enum rustc_hir_typeck::method::probe::ProbeScope
source · pub enum ProbeScope {
TraitsInScope,
AllTraits,
}
Variants§
Trait Implementations§
source§impl Clone for ProbeScope
impl Clone for ProbeScope
source§fn clone(&self) -> ProbeScope
fn clone(&self) -> ProbeScope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProbeScope
impl Debug for ProbeScope
source§impl PartialEq<ProbeScope> for ProbeScope
impl PartialEq<ProbeScope> for ProbeScope
source§fn eq(&self, other: &ProbeScope) -> bool
fn eq(&self, other: &ProbeScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProbeScope
impl Eq for ProbeScope
impl StructuralEq for ProbeScope
impl StructuralPartialEq for ProbeScope
Auto Trait Implementations§
impl RefUnwindSafe for ProbeScope
impl Send for ProbeScope
impl Sync for ProbeScope
impl Unpin for ProbeScope
impl UnwindSafe for ProbeScope
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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:
TraitsInScope
: 0 bytesAllTraits
: 0 bytes