pub enum TypeInfoRef<'a> {
Enum(&'a Arc<EnumTypeInfo>),
Struct(&'a Arc<StructTypeInfo>),
Primitive(&'a Arc<GenericTypeInfo>),
}Expand description
Reference to a TypeInfo.
Variants§
Enum(&'a Arc<EnumTypeInfo>)
Description of an enum data type.
Struct(&'a Arc<StructTypeInfo>)
Description of a structure data type.
Primitive(&'a Arc<GenericTypeInfo>)
Description of a primitive data type.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypeInfoRef<'a>
impl<'a> RefUnwindSafe for TypeInfoRef<'a>
impl<'a> Send for TypeInfoRef<'a>
impl<'a> Sync for TypeInfoRef<'a>
impl<'a> Unpin for TypeInfoRef<'a>
impl<'a> UnsafeUnpin for TypeInfoRef<'a>
impl<'a> UnwindSafe for TypeInfoRef<'a>
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