pub enum PrimitiveValType {
Show 13 variants
Bool,
S8,
U8,
S16,
U16,
S32,
U32,
S64,
U64,
F32,
F64,
Char,
String,
}
Available on crate feature
component-model
only.Expand description
A primitive value type.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveValType
impl Clone for PrimitiveValType
Source§fn clone(&self) -> PrimitiveValType
fn clone(&self) -> PrimitiveValType
Returns a copy of the value. Read more
1.0.0 · 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 PrimitiveValType
impl Debug for PrimitiveValType
Source§impl From<PrimitiveValType> for PrimitiveValType
impl From<PrimitiveValType> for PrimitiveValType
Source§fn from(p: PrimitiveValType) -> Self
fn from(p: PrimitiveValType) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for PrimitiveValType
impl<'a> Parse<'a> for PrimitiveValType
Source§impl PartialEq for PrimitiveValType
impl PartialEq for PrimitiveValType
Source§impl Peek for PrimitiveValType
impl Peek for PrimitiveValType
impl Copy for PrimitiveValType
impl Eq for PrimitiveValType
impl StructuralPartialEq for PrimitiveValType
Auto Trait Implementations§
impl Freeze for PrimitiveValType
impl RefUnwindSafe for PrimitiveValType
impl Send for PrimitiveValType
impl Sync for PrimitiveValType
impl Unpin for PrimitiveValType
impl UnwindSafe for PrimitiveValType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.