MarkupMethod
struct · ferroui-base · v0.5.0
struct MarkupMethod
A method: an instance method (Add, a command method, an event handler)
or a static one (Parse, a factory method, an attached property
accessor).
Members
name
name: &'static str
is_static
is_static: bool
parameters
parameters: &'static [TypeOf]
The parameter types, without the instance.
return_type
return_type: Option<TypeOf>
None for a method that returns nothing.
invoke
invoke: MarkupInvoke
Calls the method: (instance, arguments..), or (arguments..) for
a static method.
attributes
attributes: &'static [MarkupAttribute]
emit
emit: CompilerMetadata<Option<MarkupEmit>>
The typed function the declaration generated for the method (see
MarkupEmit).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopy
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.