pub enum WeakTypeKind {
SchemaDynamic,
SchemaOpen,
UnresolvedTypeSlot,
CodeDynamic,
CodeNil,
UnsafeCoerce,
DataDynamic,
}Variants§
SchemaDynamic
SchemaOpen
AnyFn / AnyStruct / AnyEnum in a written schema (#2976).
UnresolvedTypeSlot
CodeDynamic
CodeNil
UnsafeCoerce
DataDynamic
Dynamic in a struct field, enum payload or union member. Reported only
when selected with --only data-dynamic, so default reports and existing
gates keep their counts.
Implementations§
Trait Implementations§
Source§impl Clone for WeakTypeKind
impl Clone for WeakTypeKind
impl Copy for WeakTypeKind
Source§impl Debug for WeakTypeKind
impl Debug for WeakTypeKind
Source§impl<'de> Deserialize<'de> for WeakTypeKind
impl<'de> Deserialize<'de> for WeakTypeKind
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
impl Eq for WeakTypeKind
Source§impl Ord for WeakTypeKind
impl Ord for WeakTypeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WeakTypeKind
impl PartialEq for WeakTypeKind
Source§impl PartialOrd for WeakTypeKind
impl PartialOrd for WeakTypeKind
Source§impl Serialize for WeakTypeKind
impl Serialize for WeakTypeKind
impl StructuralPartialEq for WeakTypeKind
Auto Trait Implementations§
impl Forget for WeakTypeKind
impl Freeze for WeakTypeKind
impl Move for WeakTypeKind
impl RefUnwindSafe for WeakTypeKind
impl Send for WeakTypeKind
impl Sync for WeakTypeKind
impl Unpin for WeakTypeKind
impl UnsafeUnpin for WeakTypeKind
impl UnwindSafe for WeakTypeKind
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