[][src]Struct gba_types::TimerControlSetting

#[repr(transparent)]pub struct TimerControlSetting(_);

Implementations

impl TimerControlSetting[src]

#[must_use]pub fn scale_factor(self) -> TimerScaleFactor[src]

#[must_use]pub fn overflow_counting(self) -> bool[src]

#[must_use]pub fn interrupt_on_overflow(self) -> bool[src]

#[must_use]pub fn enabled(self) -> bool[src]

pub fn set_scale_factor(&mut self, scale_factor: TimerScaleFactor)[src]

pub fn set_overflow_counting(&mut self, overflow_counting: bool)[src]

pub fn set_interrupt_on_overflow(&mut self, interrupt_on_overflow: bool)[src]

pub fn set_enabled(&mut self, enabled: bool)[src]

Trait Implementations

impl Clone for TimerControlSetting[src]

impl Copy for TimerControlSetting[src]

impl Debug for TimerControlSetting[src]

impl Default for TimerControlSetting[src]

impl Eq for TimerControlSetting[src]

impl Hash for TimerControlSetting[src]

impl Ord for TimerControlSetting[src]

impl PartialEq<TimerControlSetting> for TimerControlSetting[src]

impl PartialOrd<TimerControlSetting> for TimerControlSetting[src]

impl StructuralEq for TimerControlSetting[src]

impl StructuralPartialEq for TimerControlSetting[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.