#[repr(C)]pub struct ComponentCallbackArg {
pub name: AzString,
pub arg_type: ComponentFieldType,
}Expand description
A single argument in a callback signature.
Fields§
§name: AzStringArgument name, e.g. “button_id”
arg_type: ComponentFieldTypeArgument type
Trait Implementations§
Source§impl Clone for ComponentCallbackArg
impl Clone for ComponentCallbackArg
Source§fn clone(&self) -> ComponentCallbackArg
fn clone(&self) -> ComponentCallbackArg
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 ComponentCallbackArg
impl Debug for ComponentCallbackArg
Source§impl FromIterator<ComponentCallbackArg> for ComponentCallbackArgVec
impl FromIterator<ComponentCallbackArg> for ComponentCallbackArgVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = ComponentCallbackArg>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = ComponentCallbackArg>,
Creates a value from an iterator. Read more
Source§impl Hash for ComponentCallbackArg
impl Hash for ComponentCallbackArg
Source§impl Ord for ComponentCallbackArg
impl Ord for ComponentCallbackArg
Source§fn cmp(&self, other: &ComponentCallbackArg) -> Ordering
fn cmp(&self, other: &ComponentCallbackArg) -> 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 ComponentCallbackArg
impl PartialEq for ComponentCallbackArg
Source§fn eq(&self, other: &ComponentCallbackArg) -> bool
fn eq(&self, other: &ComponentCallbackArg) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ComponentCallbackArg
impl PartialOrd for ComponentCallbackArg
impl Eq for ComponentCallbackArg
impl StructuralPartialEq for ComponentCallbackArg
Auto Trait Implementations§
impl Freeze for ComponentCallbackArg
impl RefUnwindSafe for ComponentCallbackArg
impl !Send for ComponentCallbackArg
impl !Sync for ComponentCallbackArg
impl Unpin for ComponentCallbackArg
impl UnsafeUnpin for ComponentCallbackArg
impl UnwindSafe for ComponentCallbackArg
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