[−][src]Struct gba_types::NoiseFrequencyControl
Implementations
impl NoiseFrequencyControl
[src]
#[must_use]pub fn dividing_ratio(self) -> u16
[src]
0 => 0.5 instead
#[must_use]pub fn step_width_7bits(self) -> bool
[src]
#[must_use]pub fn shift_clock_frequency(self) -> u16
[src]
#[must_use]pub fn stop_at_end(self) -> bool
[src]
#[must_use]pub fn init(self) -> bool
[src]
pub fn set_dividing_ratio(&mut self, dividing_ratio: u16)
[src]
pub fn set_step_width_7bits(&mut self, step_width_7bits: bool)
[src]
pub fn set_shift_clock_frequency(&mut self, shift_clock_frequency: u16)
[src]
pub fn set_stop_at_end(&mut self, stop_at_end: bool)
[src]
pub fn set_init(&mut self, init: bool)
[src]
Trait Implementations
impl Clone for NoiseFrequencyControl
[src]
fn clone(&self) -> NoiseFrequencyControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NoiseFrequencyControl
[src]
impl Debug for NoiseFrequencyControl
[src]
impl Default for NoiseFrequencyControl
[src]
fn default() -> NoiseFrequencyControl
[src]
impl Eq for NoiseFrequencyControl
[src]
impl Hash for NoiseFrequencyControl
[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 NoiseFrequencyControl
[src]
fn cmp(&self, other: &NoiseFrequencyControl) -> 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<NoiseFrequencyControl> for NoiseFrequencyControl
[src]
fn eq(&self, other: &NoiseFrequencyControl) -> bool
[src]
fn ne(&self, other: &NoiseFrequencyControl) -> bool
[src]
impl PartialOrd<NoiseFrequencyControl> for NoiseFrequencyControl
[src]
fn partial_cmp(&self, other: &NoiseFrequencyControl) -> Option<Ordering>
[src]
fn lt(&self, other: &NoiseFrequencyControl) -> bool
[src]
fn le(&self, other: &NoiseFrequencyControl) -> bool
[src]
fn gt(&self, other: &NoiseFrequencyControl) -> bool
[src]
fn ge(&self, other: &NoiseFrequencyControl) -> bool
[src]
impl StructuralEq for NoiseFrequencyControl
[src]
impl StructuralPartialEq for NoiseFrequencyControl
[src]
Auto Trait Implementations
impl Send for NoiseFrequencyControl
impl Sync for NoiseFrequencyControl
impl Unpin for NoiseFrequencyControl
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>,