Struct rytm_rs::query::SettingsQuery
source · pub struct SettingsQuery { /* private fields */ }
Expand description
A query to retrieve a Settings
object from rytm.
Implementations§
source§impl SettingsQuery
impl SettingsQuery
sourcepub const fn new_with_device_id(device_id: u8) -> Self
pub const fn new_with_device_id(device_id: u8) -> Self
Creates a new settings query with a device id.
Trait Implementations§
source§impl Clone for SettingsQuery
impl Clone for SettingsQuery
source§fn clone(&self) -> SettingsQuery
fn clone(&self) -> SettingsQuery
Returns a copy 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 SettingsQuery
impl Debug for SettingsQuery
source§impl Default for SettingsQuery
impl Default for SettingsQuery
source§fn default() -> SettingsQuery
fn default() -> SettingsQuery
Returns the “default value” for a type. Read more
source§impl Hash for SettingsQuery
impl Hash for SettingsQuery
source§impl ObjectQuery for SettingsQuery
impl ObjectQuery for SettingsQuery
source§fn sysex_type(&self) -> AnySysexType
fn sysex_type(&self) -> AnySysexType
Returns the sysex type of the object.
source§fn as_sysex_meta(&self) -> SysexMeta
fn as_sysex_meta(&self) -> SysexMeta
Returns the sysex meta data for the object creating it.
source§fn is_targeting_work_buffer(&self) -> bool
fn is_targeting_work_buffer(&self) -> bool
Returns the information if this query is targeting the work buffer.
source§impl Ord for SettingsQuery
impl Ord for SettingsQuery
source§fn cmp(&self, other: &SettingsQuery) -> Ordering
fn cmp(&self, other: &SettingsQuery) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SettingsQuery
impl PartialEq for SettingsQuery
source§fn eq(&self, other: &SettingsQuery) -> bool
fn eq(&self, other: &SettingsQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SettingsQuery
impl PartialOrd for SettingsQuery
source§fn partial_cmp(&self, other: &SettingsQuery) -> Option<Ordering>
fn partial_cmp(&self, other: &SettingsQuery) -> Option<Ordering>
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 moreimpl Copy for SettingsQuery
impl Eq for SettingsQuery
impl StructuralEq for SettingsQuery
impl StructuralPartialEq for SettingsQuery
Auto Trait Implementations§
impl RefUnwindSafe for SettingsQuery
impl Send for SettingsQuery
impl Sync for SettingsQuery
impl Unpin for SettingsQuery
impl UnwindSafe for SettingsQuery
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