pub enum OscType<'a> {
Int(i32),
Float(f32),
String(&'a str),
Blob(&'a [u8]),
}Expand description
OSC argument types as defined in OSC 1.0 specification
Variants§
Int(i32)
32-bit integer (i)
Float(f32)
32-bit IEEE 754 float (f)
String(&'a str)
Null-terminated string (s)
Blob(&'a [u8])
Binary blob (b)
Trait Implementations§
impl<'a> StructuralPartialEq for OscType<'a>
Auto Trait Implementations§
impl<'a> Freeze for OscType<'a>
impl<'a> RefUnwindSafe for OscType<'a>
impl<'a> Send for OscType<'a>
impl<'a> Sync for OscType<'a>
impl<'a> Unpin for OscType<'a>
impl<'a> UnwindSafe for OscType<'a>
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