pub struct GenericModel {
pub definition: String,
pub arguments: Vec<RustType>,
}Expand description
generic: "FerroList1“ [T]`: the generic definition a type instantiates.
Fields§
§definition: String§arguments: Vec<RustType>Trait Implementations§
Source§impl Clone for GenericModel
impl Clone for GenericModel
Source§fn clone(&self) -> GenericModel
fn clone(&self) -> GenericModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenericModel
impl Debug for GenericModel
Source§impl Default for GenericModel
impl Default for GenericModel
Source§fn default() -> GenericModel
fn default() -> GenericModel
Returns the “default value” for a type. Read more
impl Eq for GenericModel
Source§impl PartialEq for GenericModel
impl PartialEq for GenericModel
impl StructuralPartialEq for GenericModel
Auto Trait Implementations§
impl Freeze for GenericModel
impl RefUnwindSafe for GenericModel
impl Send for GenericModel
impl Sync for GenericModel
impl Unpin for GenericModel
impl UnsafeUnpin for GenericModel
impl UnwindSafe for GenericModel
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more