pub struct Sync { /* private fields */ }
Expand description
Represents the Sync
menu in Midi Config
menu.
Implementations§
source§impl Sync
impl Sync
sourcepub fn set_clock_receive(&mut self, clock_receive: bool)
pub fn set_clock_receive(&mut self, clock_receive: bool)
Turns clock receive on or off.
sourcepub fn set_clock_send(&mut self, clock_send: bool)
pub fn set_clock_send(&mut self, clock_send: bool)
Turns clock send on or off.
sourcepub fn set_transport_receive(&mut self, transport_receive: bool)
pub fn set_transport_receive(&mut self, transport_receive: bool)
Turns transport receive on or off.
sourcepub fn set_transport_send(&mut self, transport_send: bool)
pub fn set_transport_send(&mut self, transport_send: bool)
Turns transport send on or off.
sourcepub fn set_program_change_receive(&mut self, program_change_receive: bool)
pub fn set_program_change_receive(&mut self, program_change_receive: bool)
Turns program change receive on or off.
sourcepub fn set_program_change_send(&mut self, program_change_send: bool)
pub fn set_program_change_send(&mut self, program_change_send: bool)
Turns program change send on or off.
sourcepub const fn clock_receive(&self) -> bool
pub const fn clock_receive(&self) -> bool
Returns true
if clock receive is on.
sourcepub const fn clock_send(&self) -> bool
pub const fn clock_send(&self) -> bool
Returns true
if clock send is on.
sourcepub const fn transport_receive(&self) -> bool
pub const fn transport_receive(&self) -> bool
Returns true
if transport receive is on.
sourcepub const fn transport_send(&self) -> bool
pub const fn transport_send(&self) -> bool
Returns true
if transport send is on.
sourcepub const fn program_change_receive(&self) -> bool
pub const fn program_change_receive(&self) -> bool
Returns true
if program change receive is on.
sourcepub const fn program_change_send(&self) -> bool
pub const fn program_change_send(&self) -> bool
Returns true
if program change send is on.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sync
impl<'de> Deserialize<'de> for Sync
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Sync
impl Ord for Sync
source§impl PartialEq for Sync
impl PartialEq for Sync
source§impl PartialOrd for Sync
impl PartialOrd for Sync
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<&ar_global_t> for Sync
impl TryFrom<&ar_global_t> for Sync
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for Sync
impl Eq for Sync
impl StructuralEq for Sync
impl StructuralPartialEq for Sync
Auto Trait Implementations§
impl RefUnwindSafe for Sync
impl Send for Sync
impl Sync for Sync
impl Unpin for Sync
impl UnwindSafe for Sync
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