Trait fp_bindgen::prelude::Serializable
source · [−]pub trait Serializable: 'static {
fn ident() -> TypeIdent;
fn ty() -> Type;
fn is_primitive() -> bool { ... }
fn collect_types(types: &mut TypeMap) { ... }
}
Required Methods
Provided Methods
fn is_primitive() -> bool
fn is_primitive() -> bool
Whether this type is a primitive.
fn collect_types(types: &mut TypeMap)
fn collect_types(types: &mut TypeMap)
Collects the Type
of this type and its dependencies.
The default implementation is only suitable for types without dependencies.