pub enum Primitive {
Empty,
String(String),
F32(f32),
F64(f64),
U32(u32),
U64(u64),
I32(i32),
I64(i64),
Bool(bool),
Json(String),
}Expand description
Primitive types supported for communication between the USDPL back- and front-end. These are used for sending over the TCP connection.
Variants
Empty
String(String)
F32(f32)
F64(f64)
U32(u32)
U64(u64)
I32(i32)
I64(i64)
Bool(bool)
Json(String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnwindSafe for Primitive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more