pub struct AccessorModel {
pub fallible: bool,
pub callable: CallableModel,
pub typed_function: Option<String>,
pub call: Option<CallForm>,
}Expand description
An accessor of a plain property or of an indexer.
Fields§
§fallible: boolDeclared with try_get: / try_set:.
callable: CallableModel§typed_function: Option<String>The typed function of the accessor (__markup_get_Name); nothing for an indexer.
call: Option<CallForm>The call form (9.5.3), once it is chosen.
Trait Implementations§
Source§impl Clone for AccessorModel
impl Clone for AccessorModel
Source§fn clone(&self) -> AccessorModel
fn clone(&self) -> AccessorModel
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 AccessorModel
impl Debug for AccessorModel
Source§impl Default for AccessorModel
impl Default for AccessorModel
Source§fn default() -> AccessorModel
fn default() -> AccessorModel
Returns the “default value” for a type. Read more
impl Eq for AccessorModel
Source§impl PartialEq for AccessorModel
impl PartialEq for AccessorModel
impl StructuralPartialEq for AccessorModel
Auto Trait Implementations§
impl Freeze for AccessorModel
impl RefUnwindSafe for AccessorModel
impl Send for AccessorModel
impl Sync for AccessorModel
impl Unpin for AccessorModel
impl UnsafeUnpin for AccessorModel
impl UnwindSafe for AccessorModel
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