#[repr(C)]pub struct ComponentArgument {
pub name: AzString,
pub arg_type: AzString,
}Expand description
FFI-safe replacement for (ComponentArgumentName, ComponentArgumentType) tuple.
Fields§
§name: AzString§arg_type: AzStringTrait Implementations§
Source§impl Clone for ComponentArgument
impl Clone for ComponentArgument
Source§fn clone(&self) -> ComponentArgument
fn clone(&self) -> ComponentArgument
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 ComponentArgument
impl Debug for ComponentArgument
Source§impl Default for ComponentArgument
impl Default for ComponentArgument
Source§fn default() -> ComponentArgument
fn default() -> ComponentArgument
Returns the “default value” for a type. Read more
Source§impl Extend<ComponentArgument> for ComponentArgumentVec
impl Extend<ComponentArgument> for ComponentArgumentVec
Source§fn extend<T: IntoIterator<Item = ComponentArgument>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = ComponentArgument>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<ComponentArgument> for ComponentArgumentVec
impl FromIterator<ComponentArgument> for ComponentArgumentVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = ComponentArgument>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = ComponentArgument>,
Creates a value from an iterator. Read more
Source§impl Hash for ComponentArgument
impl Hash for ComponentArgument
Source§impl Ord for ComponentArgument
impl Ord for ComponentArgument
Source§fn cmp(&self, other: &ComponentArgument) -> Ordering
fn cmp(&self, other: &ComponentArgument) -> 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 ComponentArgument
impl PartialEq for ComponentArgument
Source§fn eq(&self, other: &ComponentArgument) -> bool
fn eq(&self, other: &ComponentArgument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ComponentArgument
impl PartialOrd for ComponentArgument
impl Eq for ComponentArgument
impl StructuralPartialEq for ComponentArgument
Auto Trait Implementations§
impl Freeze for ComponentArgument
impl RefUnwindSafe for ComponentArgument
impl Send for ComponentArgument
impl Sync for ComponentArgument
impl Unpin for ComponentArgument
impl UnsafeUnpin for ComponentArgument
impl UnwindSafe for ComponentArgument
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