_snd_ump_msg_set_chord_name

Struct _snd_ump_msg_set_chord_name 

Source
#[repr(C, packed(1))]
pub struct _snd_ump_msg_set_chord_name {
Show 13 fields pub status: u8, pub status_bank: u8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub chord_type: u8, pub _bitfield_align_2: [u8; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>, pub reserved: u16, pub _bitfield_align_3: [u8; 0], pub _bitfield_3: __BindgenBitfieldUnit<[u8; 4]>, pub bass_type: u8, pub _bitfield_align_4: [u8; 0], pub _bitfield_4: __BindgenBitfieldUnit<[u8; 1]>,
}

Fields§

§status: u8§status_bank: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§chord_type: u8§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§reserved: u16§_bitfield_align_3: [u8; 0]§_bitfield_3: __BindgenBitfieldUnit<[u8; 4]>§bass_type: u8§_bitfield_align_4: [u8; 0]§_bitfield_4: __BindgenBitfieldUnit<[u8; 1]>

Implementations§

Source§

impl _snd_ump_msg_set_chord_name

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 alter2_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter2_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter1_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter1_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn new_bitfield_1( channel: u8, addrs: u8, format: u8, group: u8, type_: u8, alter2_degree: u8, alter2_type: u8, alter1_degree: u8, alter1_type: u8, ) -> __BindgenBitfieldUnit<[u8; 4]>

Source

pub fn chord_tonic(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn tonic_sharp(&self) -> u8

Source

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

Source

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

Source

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

Source

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

Source

pub fn alter4_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter4_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter3_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn alter3_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn bass_alter2_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn bass_alter2_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn bass_alter1_degree(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn bass_alter1_type(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn new_bitfield_3( alter4_degree: u8, alter4_type: u8, alter3_degree: u8, alter3_type: u8, bass_alter2_degree: u8, bass_alter2_type: u8, bass_alter1_degree: u8, bass_alter1_type: u8, ) -> __BindgenBitfieldUnit<[u8; 4]>

Source

pub fn bass_note(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn bass_sharp(&self) -> u8

Source

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

Source

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

Source

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

Source

pub fn new_bitfield_4( bass_note: u8, bass_sharp: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

Source§

impl Clone for _snd_ump_msg_set_chord_name

Source§

fn clone(&self) -> _snd_ump_msg_set_chord_name

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_chord_name

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_chord_name

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.