[−][src]Struct gba_types::NoiseLengthEnvelope
Implementations
impl NoiseLengthEnvelope
[src]
#[must_use]pub fn length(self) -> u16
[src]
#[must_use]pub fn envelope_step_time(self) -> u16
[src]
#[must_use]pub fn increasing_envelope(self) -> bool
[src]
#[must_use]pub fn initial_volume(self) -> u16
[src]
pub fn set_length(&mut self, length: u16)
[src]
pub fn set_envelope_step_time(&mut self, envelope_step_time: u16)
[src]
pub fn set_increasing_envelope(&mut self, increasing_envelope: bool)
[src]
pub fn set_initial_volume(&mut self, initial_volume: u16)
[src]
Trait Implementations
impl Clone for NoiseLengthEnvelope
[src]
fn clone(&self) -> NoiseLengthEnvelope
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NoiseLengthEnvelope
[src]
impl Debug for NoiseLengthEnvelope
[src]
impl Default for NoiseLengthEnvelope
[src]
fn default() -> NoiseLengthEnvelope
[src]
impl Eq for NoiseLengthEnvelope
[src]
impl Hash for NoiseLengthEnvelope
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for NoiseLengthEnvelope
[src]
fn cmp(&self, other: &NoiseLengthEnvelope) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<NoiseLengthEnvelope> for NoiseLengthEnvelope
[src]
fn eq(&self, other: &NoiseLengthEnvelope) -> bool
[src]
fn ne(&self, other: &NoiseLengthEnvelope) -> bool
[src]
impl PartialOrd<NoiseLengthEnvelope> for NoiseLengthEnvelope
[src]
fn partial_cmp(&self, other: &NoiseLengthEnvelope) -> Option<Ordering>
[src]
fn lt(&self, other: &NoiseLengthEnvelope) -> bool
[src]
fn le(&self, other: &NoiseLengthEnvelope) -> bool
[src]
fn gt(&self, other: &NoiseLengthEnvelope) -> bool
[src]
fn ge(&self, other: &NoiseLengthEnvelope) -> bool
[src]
impl StructuralEq for NoiseLengthEnvelope
[src]
impl StructuralPartialEq for NoiseLengthEnvelope
[src]
Auto Trait Implementations
impl Send for NoiseLengthEnvelope
impl Sync for NoiseLengthEnvelope
impl Unpin for NoiseLengthEnvelope
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,