pub enum OscType {
}
Expand description
see OSC Type Tag String: OSC Spec. 1.0 padding: zero bytes (n*4)
Variants§
Int(i32)
Float(f32)
String(String)
Blob(Vec<u8>)
Time(OscTime)
Long(i64)
Double(f64)
Char(char)
Color(OscColor)
Midi(OscMidiMessage)
Bool(bool)
Array(OscArray)
Nil
Inf
Implementations§
Trait Implementations§
Source§impl From<OscMidiMessage> for OscType
impl From<OscMidiMessage> for OscType
Source§fn from(v: OscMidiMessage) -> Self
fn from(v: OscMidiMessage) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SystemTime> for OscType
impl TryFrom<SystemTime> for OscType
Source§type Error = OscTimeError
type Error = OscTimeError
The type returned in the event of a conversion error.
Source§fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
Performs the conversion.
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 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