pub enum NDAttrValue {
Int8(i8),
UInt8(u8),
Int16(i16),
UInt16(u16),
Int32(i32),
UInt32(u32),
Int64(i64),
UInt64(u64),
Float32(f32),
Float64(f64),
String(String),
}Expand description
Typed value stored in an NDAttribute.
Variants§
Int8(i8)
UInt8(u8)
Int16(i16)
UInt16(u16)
Int32(i32)
UInt32(u32)
Int64(i64)
UInt64(u64)
Float32(f32)
Float64(f64)
String(String)
Implementations§
Trait Implementations§
Source§impl Clone for NDAttrValue
impl Clone for NDAttrValue
Source§fn clone(&self) -> NDAttrValue
fn clone(&self) -> NDAttrValue
Returns a duplicate 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 NDAttrValue
impl Debug for NDAttrValue
Source§impl PartialEq for NDAttrValue
impl PartialEq for NDAttrValue
impl StructuralPartialEq for NDAttrValue
Auto Trait Implementations§
impl Freeze for NDAttrValue
impl RefUnwindSafe for NDAttrValue
impl Send for NDAttrValue
impl Sync for NDAttrValue
impl Unpin for NDAttrValue
impl UnsafeUnpin for NDAttrValue
impl UnwindSafe for NDAttrValue
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