#[repr(C)]pub struct ComponentCallbackSignature {
pub return_type: AzString,
pub args: ComponentCallbackArgVec,
}Expand description
Callback signature: return type + argument list.
Fields§
§return_type: AzStringReturn type name, e.g. “Update”
args: ComponentCallbackArgVecCallback arguments (excluding the implicit &mut RefAny and &mut CallbackInfo)
Trait Implementations§
Source§impl Clone for ComponentCallbackSignature
impl Clone for ComponentCallbackSignature
Source§fn clone(&self) -> ComponentCallbackSignature
fn clone(&self) -> ComponentCallbackSignature
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 ComponentCallbackSignature
impl Debug for ComponentCallbackSignature
Source§impl Hash for ComponentCallbackSignature
impl Hash for ComponentCallbackSignature
Source§impl Ord for ComponentCallbackSignature
impl Ord for ComponentCallbackSignature
Source§fn cmp(&self, other: &ComponentCallbackSignature) -> Ordering
fn cmp(&self, other: &ComponentCallbackSignature) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentCallbackSignature
impl PartialEq for ComponentCallbackSignature
Source§fn eq(&self, other: &ComponentCallbackSignature) -> bool
fn eq(&self, other: &ComponentCallbackSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ComponentCallbackSignature
impl PartialOrd for ComponentCallbackSignature
impl Eq for ComponentCallbackSignature
impl StructuralPartialEq for ComponentCallbackSignature
Auto Trait Implementations§
impl Freeze for ComponentCallbackSignature
impl RefUnwindSafe for ComponentCallbackSignature
impl Send for ComponentCallbackSignature
impl Sync for ComponentCallbackSignature
impl Unpin for ComponentCallbackSignature
impl UnsafeUnpin for ComponentCallbackSignature
impl UnwindSafe for ComponentCallbackSignature
Blanket Implementations§
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