pub struct AliasModel {
pub path: String,
pub target: RustType,
}Expand description
A type alias without parameters of a crate (pub type PageList = FerroList<Ref<Page>>;):
the two texts are one Rust type.
Fields§
§path: StringThe path of the declaring module and the name (::ferroui_controls::page::multi_page::PageList).
target: RustTypeThe type the alias stands for.
Trait Implementations§
Source§impl Clone for AliasModel
impl Clone for AliasModel
Source§fn clone(&self) -> AliasModel
fn clone(&self) -> AliasModel
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 AliasModel
impl Debug for AliasModel
impl Eq for AliasModel
Source§impl PartialEq for AliasModel
impl PartialEq for AliasModel
impl StructuralPartialEq for AliasModel
Auto Trait Implementations§
impl Freeze for AliasModel
impl RefUnwindSafe for AliasModel
impl Send for AliasModel
impl Sync for AliasModel
impl Unpin for AliasModel
impl UnsafeUnpin for AliasModel
impl UnwindSafe for AliasModel
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