pub struct HandleModel {
pub handle: RustType,
pub type_: RustType,
}Expand description
One more Rust type that holds a value of a type with markup metadata, registered by a
crate next to the handles: of the declaration
(MarkupType::register_handle::<Handle>(<Type as MarkupTyped>::MARKUP)): the wrapper a
property of another crate holds the value in.
Fields§
§handle: RustType§type_: RustTypeThe Rust type of the type with the metadata, as its declaration has it
(TypeModel::rust_path).
Trait Implementations§
Source§impl Clone for HandleModel
impl Clone for HandleModel
Source§fn clone(&self) -> HandleModel
fn clone(&self) -> HandleModel
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 HandleModel
impl Debug for HandleModel
impl Eq for HandleModel
Source§impl PartialEq for HandleModel
impl PartialEq for HandleModel
impl StructuralPartialEq for HandleModel
Auto Trait Implementations§
impl Freeze for HandleModel
impl RefUnwindSafe for HandleModel
impl Send for HandleModel
impl Sync for HandleModel
impl Unpin for HandleModel
impl UnsafeUnpin for HandleModel
impl UnwindSafe for HandleModel
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