pub struct GetMidiDevNameResult {
pub is_present: bool,
pub name: Option<CString>,
}Fields§
§is_present: boolWhether the device is currently connected.
name: Option<CString>Name of the device (only if name requested).
Trait Implementations§
Source§impl Clone for GetMidiDevNameResult
impl Clone for GetMidiDevNameResult
Source§fn clone(&self) -> GetMidiDevNameResult
fn clone(&self) -> GetMidiDevNameResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetMidiDevNameResult
impl Debug for GetMidiDevNameResult
Source§impl Hash for GetMidiDevNameResult
impl Hash for GetMidiDevNameResult
Source§impl PartialEq for GetMidiDevNameResult
impl PartialEq for GetMidiDevNameResult
impl StructuralPartialEq for GetMidiDevNameResult
Auto Trait Implementations§
impl Freeze for GetMidiDevNameResult
impl RefUnwindSafe for GetMidiDevNameResult
impl Send for GetMidiDevNameResult
impl Sync for GetMidiDevNameResult
impl Unpin for GetMidiDevNameResult
impl UnwindSafe for GetMidiDevNameResult
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