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
sourceimpl From<OscMidiMessage> for OscType
impl From<OscMidiMessage> for OscType
sourcefn from(v: OscMidiMessage) -> Self
fn from(v: OscMidiMessage) -> Self
Converts to this type from the input type.
sourceimpl TryFrom<SystemTime> for OscType
impl TryFrom<SystemTime> for OscType
type Error = OscTimeError
type Error = OscTimeError
The type returned in the event of a conversion error.
sourcefn 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 RefUnwindSafe for OscType
impl Send for OscType
impl Sync for OscType
impl Unpin for OscType
impl UnwindSafe for OscType
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