[][src]Struct gba_hal::data::FP_I_7_8

#[repr(transparent)]
pub struct FP_I_7_8(pub i16);

A two-byte fixed point value.

  • Signed
  • 7 integral bits
  • 8 fractional bits (x/256)

Methods

impl FP_I_7_8[src]

pub const fn new() -> Self[src]

A const "zero value" constructor

Trait Implementations

impl PartialEq<FP_I_7_8> for FP_I_7_8[src]

impl Eq for FP_I_7_8[src]

impl Copy for FP_I_7_8[src]

impl Debug for FP_I_7_8[src]

impl Clone for FP_I_7_8[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for FP_I_7_8[src]

Auto Trait Implementations

impl Send for FP_I_7_8

impl Sync for FP_I_7_8

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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