Enum ComponentArgType
#[non_exhaustive]
pub enum ComponentArgType
The type of component arguments.
Variants
-
String -
Bool -
Integer -
Float -
Number -
Array -
Map -
Bytes
Implementations
impl ComponentArgType
fn as_str(&self) -> &'static strReturns the name of this argument type
Trait Implementations
impl Clone for ComponentArgType
fn clone(&self) -> ComponentArgType
impl Copy for ComponentArgType
impl Debug for ComponentArgType
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ComponentArgType
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ComponentArgType
impl PartialEq for ComponentArgType
fn eq(&self, other: &ComponentArgType) -> bool
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
impl<T> Any for ComponentArgType
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ComponentArgType
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ComponentArgType
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ComponentArgType
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ComponentArgType
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ComponentArgType
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for ComponentArgType
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for ComponentArgType
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ComponentArgType
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for ComponentArgType
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>