Enum rustc_passes::dead::ComesFromAllowExpect
source · enum ComesFromAllowExpect {
Yes,
No,
}
Expand description
Determine if a work from the worklist is coming from the a #[allow]
or a #[expect]
of dead_code
Variants§
Trait Implementations§
source§impl Clone for ComesFromAllowExpect
impl Clone for ComesFromAllowExpect
source§fn clone(&self) -> ComesFromAllowExpect
fn clone(&self) -> ComesFromAllowExpect
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 ComesFromAllowExpect
impl Debug for ComesFromAllowExpect
source§impl Hash for ComesFromAllowExpect
impl Hash for ComesFromAllowExpect
source§impl PartialEq<ComesFromAllowExpect> for ComesFromAllowExpect
impl PartialEq<ComesFromAllowExpect> for ComesFromAllowExpect
source§fn eq(&self, other: &ComesFromAllowExpect) -> bool
fn eq(&self, other: &ComesFromAllowExpect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ComesFromAllowExpect
impl Eq for ComesFromAllowExpect
impl StructuralEq for ComesFromAllowExpect
impl StructuralPartialEq for ComesFromAllowExpect
Auto Trait Implementations§
impl RefUnwindSafe for ComesFromAllowExpect
impl Send for ComesFromAllowExpect
impl Sync for ComesFromAllowExpect
impl Unpin for ComesFromAllowExpect
impl UnwindSafe for ComesFromAllowExpect
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:
Yes
: 0 bytesNo
: 0 bytes