#[repr(C)]pub struct mxr_set_route_request_t {
pub serial: *const c_char,
pub sink_bay: u16,
pub source_bay: u16,
pub no_power_on: bool,
pub audio_only: bool,
}Expand description
Asks a device, addressed by serial, to switch a sink.
Fields§
§serial: *const c_charSerial of the device to act on, borrowed for the call.
sink_bay: u16Output bay to switch.
source_bay: u16Source bay to switch it to.
no_power_on: boolWhether to skip the power-on commands that normally accompany a switch.
audio_only: boolSet when the request routes audio only.
Trait Implementations§
Source§impl Clone for mxr_set_route_request_t
impl Clone for mxr_set_route_request_t
Source§fn clone(&self) -> mxr_set_route_request_t
fn clone(&self) -> mxr_set_route_request_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for mxr_set_route_request_t
Auto Trait Implementations§
impl !Send for mxr_set_route_request_t
impl !Sync for mxr_set_route_request_t
impl Freeze for mxr_set_route_request_t
impl RefUnwindSafe for mxr_set_route_request_t
impl Unpin for mxr_set_route_request_t
impl UnsafeUnpin for mxr_set_route_request_t
impl UnwindSafe for mxr_set_route_request_t
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