pub struct Type {
pub ident: &'static str,
pub data: Data,
}Expand description
Information about type
if TypeInfo is implemented, comes as associated constant
Fields§
§ident: &'static strType name, exactly as in code (case and underscores are preserved)
data: DataType of data that this type contains
Trait Implementations§
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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