Enum fp_bindgen::types::Type
source · [−]pub enum Type {
Alias(String, TypeIdent),
Array(Primitive, usize),
Container(String, TypeIdent),
Custom(CustomType),
Enum(Enum),
List(String, TypeIdent),
Map(String, TypeIdent, TypeIdent),
Primitive(Primitive),
String,
Struct(Struct),
Tuple(Vec<TypeIdent>),
Unit,
}
Variants
Alias(String, TypeIdent)
Array(Primitive, usize)
Container(String, TypeIdent)
Custom(CustomType)
Enum(Enum)
List(String, TypeIdent)
Map(String, TypeIdent, TypeIdent)
Primitive(Primitive)
String
Struct(Struct)
Tuple(Vec<TypeIdent>)
Unit
Implementations
Trait Implementations
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more