pub struct Clut { /* private fields */ }Expand description
A CLUT slot – 16 consecutive halfwords at (x, y) for 4bpp, or
256 consecutive halfwords for 8bpp. Const constructor asserts
the 16-pixel X alignment hardware requires.
Implementations§
Source§impl Clut
impl Clut
Source§impl Clut
impl Clut
Sourcepub const fn uv_clut_word(self) -> u16
👎Deprecated: renamed to uv_word
pub const fn uv_clut_word(self) -> u16
renamed to uv_word
Renamed to Clut::uv_word.
Trait Implementations§
impl Copy for Clut
impl Eq for Clut
impl StructuralPartialEq for Clut
Auto Trait Implementations§
impl Freeze for Clut
impl RefUnwindSafe for Clut
impl Send for Clut
impl Sync for Clut
impl Unpin for Clut
impl UnsafeUnpin for Clut
impl UnwindSafe for Clut
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)