Enum typify_impl::TypeDetails
source · pub enum TypeDetails<'a> {
}
Expand description
Type details returned by Type::details() to inspect a type.
Variants§
Enum(TypeEnum<'a>)
Struct(TypeStruct<'a>)
Newtype(TypeNewtype<'a>)
Option(TypeId)
Vec(TypeId)
Map(TypeId, TypeId)
Set(TypeId)
Box(TypeId)
Tuple(Box<dyn Iterator<Item = TypeId> + 'a>)
Array(TypeId, usize)
Builtin(&'a str)
Unit
String
Auto Trait Implementations§
impl<'a> Freeze for TypeDetails<'a>
impl<'a> !RefUnwindSafe for TypeDetails<'a>
impl<'a> !Send for TypeDetails<'a>
impl<'a> !Sync for TypeDetails<'a>
impl<'a> Unpin for TypeDetails<'a>
impl<'a> !UnwindSafe for TypeDetails<'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