Struct portmidi::DeviceInfo
[−]
[src]
pub struct DeviceInfo { pub device_id: PortMidiDeviceId, pub name: String, pub input: bool, pub output: bool, }
Represents what we know about a device
Fields
device_id: PortMidiDeviceId
The PortMidiDeviceId
used with OutputPort::new
and InputPort::new
name: String
The name of the device
input: bool
Is the device an input
output: bool
Is the device an output
Trait Implementations
impl Debug for DeviceInfo
[src]
impl Clone for DeviceInfo
[src]
fn clone(&self) -> DeviceInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more