pub trait IntoAddrAndArgs<'a, B> {
// Required method
fn as_addr_frag_and_args(&self) -> (String, B);
}Expand description
Converts an to a Monome method argument to a OSC address fragment and suitable OscType, performing an eventual conversion.
Required Methods§
Sourcefn as_addr_frag_and_args(&self) -> (String, B)
fn as_addr_frag_and_args(&self) -> (String, B)
Converts an to a Monome method argument to a OSC address fragment and suitable OscType, performing an eventual conversion.
Implementations on Foreign Types§
Source§impl<'a> IntoAddrAndArgs<'a, OscType> for bool
Used to make an on/off call, converts to 0 or 1.
impl<'a> IntoAddrAndArgs<'a, OscType> for bool
Used to make an on/off call, converts to 0 or 1.
fn as_addr_frag_and_args(&self) -> (String, OscType)
Source§impl<'a> IntoAddrAndArgs<'a, OscType> for i32
Used to make a call with an intensity value, adds the "level/" portion in the address.
impl<'a> IntoAddrAndArgs<'a, OscType> for i32
Used to make a call with an intensity value, adds the "level/" portion in the address.
fn as_addr_frag_and_args(&self) -> (String, OscType)
Source§impl<'a> IntoAddrAndArgs<'a, Vec<OscType>> for &'a [bool; 64]
Used to convert vectors of bools for on/off calls, packs into a 8-bit integer mask.
impl<'a> IntoAddrAndArgs<'a, Vec<OscType>> for &'a [bool; 64]
Used to convert vectors of bools for on/off calls, packs into a 8-bit integer mask.