Enum sunspec_models::types::DataTypes
source · pub enum DataTypes {
SunspecString(Point<String>),
SunspecU16(Point<u16>),
SunspecU32(Point<u32>),
SunspecU64(Point<u64>),
SunspecU128(Point<u128>),
SunspecI16(Point<i16>),
SunspecI32(Point<i32>),
SunspecI64(Point<i64>),
SunspecF32(Point<f32>),
}Variants§
SunspecString(Point<String>)
SunspecU16(Point<u16>)
SunspecU32(Point<u32>)
SunspecU64(Point<u64>)
SunspecU128(Point<u128>)
SunspecI16(Point<i16>)
SunspecI32(Point<i32>)
SunspecI64(Point<i64>)
SunspecF32(Point<f32>)
Trait Implementations§
source§impl SunspecTypes for DataTypes
impl SunspecTypes for DataTypes
fn new_string(data: &str) -> DataTypes
fn new_u16(data: u16) -> DataTypes
fn new_u32(data: u32) -> DataTypes
fn new_u64(data: u64) -> DataTypes
fn new_u128(data: u128) -> DataTypes
fn new_i16(data: i16) -> DataTypes
fn new_i32(data: i32) -> DataTypes
fn new_i64(data: i64) -> DataTypes
fn new_f32(data: f32) -> DataTypes
Auto Trait Implementations§
impl RefUnwindSafe for DataTypes
impl Send for DataTypes
impl Sync for DataTypes
impl Unpin for DataTypes
impl UnwindSafe for DataTypes
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