pub struct Type {
pub id: TypeId,
pub module: &'static str,
pub ident: &'static str,
pub data: Data,
}
Expand description
Type information for a type that implements TypeInfo
.
Fields§
§id: TypeId
The globally unique identifier for this type.
module: &'static str
The module in which this type was defined.
This is using unrooted syntax à la foo::bar
.
ident: &'static str
The identifier of this type within its module.
data: Data
Additional data about this type definition.
Implementations§
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
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