pub struct TypeChecker<T>(_);

Implementations§

check if variable is a box

checks if variable is a string

checks if variable is a type of int ranging from u8-usize

checks if variable is a type of int ranging from i8-isize

checks if variable is a Cell

checks if variable is a RefCell

checks if variable is a Vec

checks if variable is a HashMap

checks if variable is a BinaryHeap

checks if variable is a ()

checks if variable is a &dyn Any or dyn Any

checks if variable is a char

checks if variable is a &str

checks if variable is a float

checks if variable is a double

checks if variables is a *const pointer or *mut pointer

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.