Struct ff_envelope

#[repr(C)]
pub struct ff_envelope { pub attack_length: __u16, pub attack_level: __u16, pub fade_length: __u16, pub fade_level: __u16 }

Fields

attack_length: __u16
attack_level: __u16
fade_length: __u16
fade_level: __u16

Trait Implementations

impl Clone for ff_envelope

fn clone(&self) -> ff_envelope

impl Copy for ff_envelope

impl Debug for ff_envelope

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

impl Eq for ff_envelope

impl Hash for ff_envelope

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ff_envelope

fn eq(&self, other: &ff_envelope) -> bool

impl StructuralPartialEq for ff_envelope

Auto Trait Implementations

impl Freeze for ff_envelope

impl RefUnwindSafe for ff_envelope

impl Send for ff_envelope

impl Sync for ff_envelope

impl Unpin for ff_envelope

impl UnsafeUnpin for ff_envelope

impl UnwindSafe for ff_envelope

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ff_envelope

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(self) -> U

Calls U::from(self).

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

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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