Struct owl_midi::OwlProtocol
source · [−]#[repr(transparent)]pub struct OwlProtocol(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_DISCOVER: OwlProtocol
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_PARAMETER: OwlProtocol
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_COMMAND: OwlProtocol
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_MESSAGE: OwlProtocol
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_DATA: OwlProtocol
sourceimpl OwlProtocol
impl OwlProtocol
pub const OWL_COMMAND_RESET: OwlProtocol
Trait Implementations
sourceimpl Clone for OwlProtocol
impl Clone for OwlProtocol
sourcefn clone(&self) -> OwlProtocol
fn clone(&self) -> OwlProtocol
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OwlProtocol
impl Debug for OwlProtocol
sourceimpl Hash for OwlProtocol
impl Hash for OwlProtocol
sourceimpl PartialEq<OwlProtocol> for OwlProtocol
impl PartialEq<OwlProtocol> for OwlProtocol
sourcefn eq(&self, other: &OwlProtocol) -> bool
fn eq(&self, other: &OwlProtocol) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OwlProtocol) -> bool
fn ne(&self, other: &OwlProtocol) -> bool
This method tests for !=
.
impl Copy for OwlProtocol
impl Eq for OwlProtocol
impl StructuralEq for OwlProtocol
impl StructuralPartialEq for OwlProtocol
Auto Trait Implementations
impl RefUnwindSafe for OwlProtocol
impl Send for OwlProtocol
impl Sync for OwlProtocol
impl Unpin for OwlProtocol
impl UnwindSafe for OwlProtocol
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more