#[non_exhaustive]pub enum ComponentArgType {
String,
Bool,
Integer,
Float,
Number,
Array,
Map,
Bytes,
}Expand description
The type of component arguments.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for ComponentArgType
impl Clone for ComponentArgType
Source§fn clone(&self) -> ComponentArgType
fn clone(&self) -> ComponentArgType
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 ComponentArgType
impl Debug for ComponentArgType
Source§impl Display for ComponentArgType
impl Display for ComponentArgType
Source§impl PartialEq for ComponentArgType
impl PartialEq for ComponentArgType
Source§fn eq(&self, other: &ComponentArgType) -> bool
fn eq(&self, other: &ComponentArgType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ComponentArgType
impl Eq for ComponentArgType
impl StructuralPartialEq for ComponentArgType
Auto Trait Implementations§
impl Freeze for ComponentArgType
impl RefUnwindSafe for ComponentArgType
impl Send for ComponentArgType
impl Sync for ComponentArgType
impl Unpin for ComponentArgType
impl UnsafeUnpin for ComponentArgType
impl UnwindSafe for ComponentArgType
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