Enum cm_rust::ConfigSingleValue
source · pub enum ConfigSingleValue {
Bool(bool),
Uint8(u8),
Uint16(u16),
Uint32(u32),
Uint64(u64),
Int8(i8),
Int16(i16),
Int32(i32),
Int64(i64),
String(String),
}
Variants§
Bool(bool)
Uint8(u8)
Uint16(u16)
Uint32(u32)
Uint64(u64)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
String(String)
Trait Implementations§
source§impl Clone for ConfigSingleValue
impl Clone for ConfigSingleValue
source§fn clone(&self) -> ConfigSingleValue
fn clone(&self) -> ConfigSingleValue
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 ConfigSingleValue
impl Debug for ConfigSingleValue
source§impl Display for ConfigSingleValue
impl Display for ConfigSingleValue
source§impl FidlIntoNative<ConfigSingleValue> for ConfigSingleValue
impl FidlIntoNative<ConfigSingleValue> for ConfigSingleValue
fn fidl_into_native(self) -> ConfigSingleValue
source§impl From<ConfigSingleValue> for ConfigValue
impl From<ConfigSingleValue> for ConfigValue
source§fn from(f: ConfigSingleValue) -> Self
fn from(f: ConfigSingleValue) -> Self
Converts to this type from the input type.
source§impl From<String> for ConfigSingleValue
impl From<String> for ConfigSingleValue
source§impl From<bool> for ConfigSingleValue
impl From<bool> for ConfigSingleValue
source§impl From<i16> for ConfigSingleValue
impl From<i16> for ConfigSingleValue
source§impl From<i32> for ConfigSingleValue
impl From<i32> for ConfigSingleValue
source§impl From<i64> for ConfigSingleValue
impl From<i64> for ConfigSingleValue
source§impl From<i8> for ConfigSingleValue
impl From<i8> for ConfigSingleValue
source§impl From<u16> for ConfigSingleValue
impl From<u16> for ConfigSingleValue
source§impl From<u32> for ConfigSingleValue
impl From<u32> for ConfigSingleValue
source§impl From<u64> for ConfigSingleValue
impl From<u64> for ConfigSingleValue
source§impl From<u8> for ConfigSingleValue
impl From<u8> for ConfigSingleValue
source§impl FromEnum<ConfigSingleValue> for String
impl FromEnum<ConfigSingleValue> for String
source§impl FromEnum<ConfigSingleValue> for bool
impl FromEnum<ConfigSingleValue> for bool
source§impl FromEnum<ConfigSingleValue> for i16
impl FromEnum<ConfigSingleValue> for i16
source§impl FromEnum<ConfigSingleValue> for i32
impl FromEnum<ConfigSingleValue> for i32
source§impl FromEnum<ConfigSingleValue> for i64
impl FromEnum<ConfigSingleValue> for i64
source§impl FromEnum<ConfigSingleValue> for i8
impl FromEnum<ConfigSingleValue> for i8
source§impl FromEnum<ConfigSingleValue> for u16
impl FromEnum<ConfigSingleValue> for u16
source§impl FromEnum<ConfigSingleValue> for u32
impl FromEnum<ConfigSingleValue> for u32
source§impl FromEnum<ConfigSingleValue> for u64
impl FromEnum<ConfigSingleValue> for u64
source§impl FromEnum<ConfigSingleValue> for u8
impl FromEnum<ConfigSingleValue> for u8
source§impl FromEnum<ConfigValue> for ConfigSingleValue
impl FromEnum<ConfigValue> for ConfigSingleValue
source§impl NativeIntoFidl<ConfigSingleValue> for ConfigSingleValue
impl NativeIntoFidl<ConfigSingleValue> for ConfigSingleValue
fn native_into_fidl(self) -> ConfigSingleValue
source§impl PartialEq for ConfigSingleValue
impl PartialEq for ConfigSingleValue
source§fn eq(&self, other: &ConfigSingleValue) -> bool
fn eq(&self, other: &ConfigSingleValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConfigSingleValue
impl StructuralPartialEq for ConfigSingleValue
Auto Trait Implementations§
impl Freeze for ConfigSingleValue
impl RefUnwindSafe for ConfigSingleValue
impl Send for ConfigSingleValue
impl Sync for ConfigSingleValue
impl Unpin for ConfigSingleValue
impl UnwindSafe for ConfigSingleValue
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)