pub enum TypeModel {
Empty,
Struct(Box<StructModel>),
Array(Box<(TypeModel, usize)>),
Primitive(ModelName),
}
Variants§
Empty
Empty types
Struct(Box<StructModel>)
Struct types
Array(Box<(TypeModel, usize)>)
Array types
Primitive(ModelName)
Rust primitive types
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeModel
impl RefUnwindSafe for TypeModel
impl Send for TypeModel
impl Sync for TypeModel
impl Unpin for TypeModel
impl UnwindSafe for TypeModel
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