_snd_ump_msg_set_key_sig

Struct _snd_ump_msg_set_key_sig 

Source
#[repr(C, packed(1))]
pub struct _snd_ump_msg_set_key_sig { pub status: u8, pub status_bank: u8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub reserved1: [u8; 3], pub _bitfield_align_2: [u8; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>, pub reserved2: [u32; 2], }

Fields§

§status: u8§status_bank: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§reserved1: [u8; 3]§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§reserved2: [u32; 2]

Implementations§

Source§

impl _snd_ump_msg_set_key_sig

Source

pub fn channel(&self) -> u8

Source

pub fn set_channel(&mut self, val: u8)

Source

pub unsafe fn channel_raw(this: *const Self) -> u8

Source

pub unsafe fn set_channel_raw(this: *mut Self, val: u8)

Source

pub fn addrs(&self) -> u8

Source

pub fn set_addrs(&mut self, val: u8)

Source

pub unsafe fn addrs_raw(this: *const Self) -> u8

Source

pub unsafe fn set_addrs_raw(this: *mut Self, val: u8)

Source

pub fn format(&self) -> u8

Source

pub fn set_format(&mut self, val: u8)

Source

pub unsafe fn format_raw(this: *const Self) -> u8

Source

pub unsafe fn set_format_raw(this: *mut Self, val: u8)

Source

pub fn group(&self) -> u8

Source

pub fn set_group(&mut self, val: u8)

Source

pub unsafe fn group_raw(this: *const Self) -> u8

Source

pub unsafe fn set_group_raw(this: *mut Self, val: u8)

Source

pub fn type_(&self) -> u8

Source

pub fn set_type(&mut self, val: u8)

Source

pub unsafe fn type__raw(this: *const Self) -> u8

Source

pub unsafe fn set_type_raw(this: *mut Self, val: u8)

Source

pub fn new_bitfield_1( channel: u8, addrs: u8, format: u8, group: u8, type_: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>

Source

pub fn tonic_note(&self) -> u8

Source

pub fn set_tonic_note(&mut self, val: u8)

Source

pub unsafe fn tonic_note_raw(this: *const Self) -> u8

Source

pub unsafe fn set_tonic_note_raw(this: *mut Self, val: u8)

Source

pub fn sharps_flats(&self) -> u8

Source

pub fn set_sharps_flats(&mut self, val: u8)

Source

pub unsafe fn sharps_flats_raw(this: *const Self) -> u8

Source

pub unsafe fn set_sharps_flats_raw(this: *mut Self, val: u8)

Source

pub fn new_bitfield_2( tonic_note: u8, sharps_flats: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

Source§

impl Clone for _snd_ump_msg_set_key_sig

Source§

fn clone(&self) -> _snd_ump_msg_set_key_sig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _snd_ump_msg_set_key_sig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _snd_ump_msg_set_key_sig

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.