Struct LAYER

Source
#[repr(C)]
pub struct LAYER { /* private fields */ }
Expand description

Cluster LAYER%s, containing L?CR, L?WHPCR, L?WVPCR, L?CKCR, L?PFCR, L?CACR, L?DCCR, L?BFCR, L?CFBAR, L?CFBLR, L?CFBLNR, L?CLUTWR

Implementations§

Source§

impl LAYER

Source

pub const fn cr(&self) -> &CR

0x00 - Layerx Control Register

Source

pub const fn whpcr(&self) -> &WHPCR

0x04 - Layerx Window Horizontal Position Configuration Register

Source

pub const fn wvpcr(&self) -> &WVPCR

0x08 - Layerx Window Vertical Position Configuration Register

Source

pub const fn ckcr(&self) -> &CKCR

0x0c - Layerx Color Keying Configuration Register

Source

pub const fn pfcr(&self) -> &PFCR

0x10 - Layerx Pixel Format Configuration Register

Source

pub const fn cacr(&self) -> &CACR

0x14 - Layerx Constant Alpha Configuration Register

Source

pub const fn dccr(&self) -> &DCCR

0x18 - Layerx Default Color Configuration Register

Source

pub const fn bfcr(&self) -> &BFCR

0x1c - Layerx Blending Factors Configuration Register

Source

pub const fn cfbar(&self) -> &CFBAR

0x28 - Layerx Color Frame Buffer Address Register

Source

pub const fn cfblr(&self) -> &CFBLR

0x2c - Layerx Color Frame Buffer Length Register

Source

pub const fn cfblnr(&self) -> &CFBLNR

0x30 - Layerx ColorFrame Buffer Line Number Register

Source

pub const fn clutwr(&self) -> &CLUTWR

0x40 - Layerx CLUT Write Register

Trait Implementations§

Source§

impl Debug for LAYER

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for LAYER

§

impl !RefUnwindSafe for LAYER

§

impl Send for LAYER

§

impl !Sync for LAYER

§

impl Unpin for LAYER

§

impl UnwindSafe for LAYER

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.