pub enum ScalarType {
Char,
UChar,
Short,
UShort,
Int,
UInt,
Float,
Double,
}
Expand description
Scalar type used to encode properties in the payload.
For the translation to rust types, see individual documentation.
Variants§
Char
Signed 8 bit integer, rust: i8
.
UChar
Unsigned 8 bit integer, rust: u8
.
Short
Signed 16 bit integer, rust: i16
.
UShort
Unsigned 16 bit integer, rust: u16
.
Int
Signed 32 bit integer, rust: i32
.
UInt
Unsigned 32 bit integer, rust: u32
.
Float
32 bit floating point number, rust: f32
.
Double
64 bit floating point number, rust: f64
.
Trait Implementations§
Source§impl Clone for ScalarType
impl Clone for ScalarType
Source§fn clone(&self) -> ScalarType
fn clone(&self) -> ScalarType
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 ScalarType
impl Debug for ScalarType
Source§impl PartialEq for ScalarType
impl PartialEq for ScalarType
impl Eq for ScalarType
impl StructuralPartialEq for ScalarType
Auto Trait Implementations§
impl Freeze for ScalarType
impl RefUnwindSafe for ScalarType
impl Send for ScalarType
impl Sync for ScalarType
impl Unpin for ScalarType
impl UnwindSafe for ScalarType
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
)