Enum rosc::OscType [−][src]
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)
Time(OscTime)
Long(i64)
Double(f64)
Char(char)
Color(OscColor)
Midi(OscMidiMessage)
Bool(bool)
Array(OscArray)
Implementations
Trait Implementations
impl From<OscMidiMessage> for OscType
[src]
impl From<OscMidiMessage> for OscType
[src]fn from(v: OscMidiMessage) -> Self
[src]
fn from(v: OscMidiMessage) -> Self
[src]Performs the conversion.
impl TryFrom<SystemTime> for OscType
[src]
impl TryFrom<SystemTime> for OscType
[src]type Error = OscTimeError
type Error = OscTimeError
The type returned in the event of a conversion error.
fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
[src]
fn try_from(time: SystemTime) -> Result<OscType, OscTimeError>
[src]Performs the conversion.
impl StructuralPartialEq for OscType
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more