Enum TypeKind
enum TypeKind
The kind of the current type.
Variants
-
Struct The type is a Rust
struct.-
Enum The type is a Rust
enum.-
Union The type is a Rust
union.
Implementations
impl Clone for TypeKind
fn clone(self: &Self) -> TypeKind
impl Copy for TypeKind
impl Debug for TypeKind
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for TypeKind
impl Freeze for TypeKind
impl PartialEq for TypeKind
fn eq(self: &Self, other: &TypeKind) -> bool
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl StructuralPartialEq for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnwindSafe for TypeKind
impl<T> Any for TypeKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for TypeKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for TypeKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for TypeKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for TypeKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for TypeKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for TypeKind
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for TypeKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for TypeKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>