pub enum DeadCodeReason {
Unreachable,
NoOutboundCalls,
Isolated,
OrphanedLeaf,
}Variants§
Trait Implementations§
Source§impl Clone for DeadCodeReason
impl Clone for DeadCodeReason
Source§fn clone(&self) -> DeadCodeReason
fn clone(&self) -> DeadCodeReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeadCodeReason
Source§impl Debug for DeadCodeReason
impl Debug for DeadCodeReason
Source§impl<'de> Deserialize<'de> for DeadCodeReason
impl<'de> Deserialize<'de> for DeadCodeReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeadCodeReason
impl Display for DeadCodeReason
impl Eq for DeadCodeReason
Source§impl PartialEq for DeadCodeReason
impl PartialEq for DeadCodeReason
Source§fn eq(&self, other: &DeadCodeReason) -> bool
fn eq(&self, other: &DeadCodeReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeadCodeReason
impl Serialize for DeadCodeReason
impl StructuralPartialEq for DeadCodeReason
Auto Trait Implementations§
impl Freeze for DeadCodeReason
impl RefUnwindSafe for DeadCodeReason
impl Send for DeadCodeReason
impl Sync for DeadCodeReason
impl Unpin for DeadCodeReason
impl UnsafeUnpin for DeadCodeReason
impl UnwindSafe for DeadCodeReason
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