pub enum OscType {
Int(i32),
Float(f32),
String(String),
Blob(Vec<u8>),
Timetag(TimeTag),
}Expand description
An OSC argument value — one of the supported OSC type tags.
Variants§
Int(i32)
32-bit big-endian integer.
Float(f32)
32-bit big-endian IEEE 754 float.
String(String)
NULL-terminated ASCII string, padded to 4-byte boundary.
Blob(Vec<u8>)
Byte blob prefixed by a 32-bit length, padded to 4-byte boundary.
Timetag(TimeTag)
64-bit NTP time tag (two 32-bit words).
Trait Implementations§
impl StructuralPartialEq for OscType
Auto Trait Implementations§
impl Freeze for OscType
impl RefUnwindSafe for OscType
impl Send for OscType
impl Sync for OscType
impl Unpin for OscType
impl UnsafeUnpin for OscType
impl UnwindSafe for OscType
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