Struct tic80::PaletteIdx
source · pub struct PaletteIdx { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Bitsized for PaletteIdx
impl Bitsized for PaletteIdx
source§impl Clone for PaletteIdx
impl Clone for PaletteIdx
source§fn clone(&self) -> PaletteIdx
fn clone(&self) -> PaletteIdx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaletteIdx
impl Debug for PaletteIdx
source§impl From<PaletteIdx> for u4
impl From<PaletteIdx> for u4
source§fn from(value: PaletteIdx) -> Self
fn from(value: PaletteIdx) -> Self
Converts to this type from the input type.
source§impl From<UInt<u8, 4>> for PaletteIdx
impl From<UInt<u8, 4>> for PaletteIdx
source§impl PartialEq for PaletteIdx
impl PartialEq for PaletteIdx
source§fn eq(&self, other: &PaletteIdx) -> bool
fn eq(&self, other: &PaletteIdx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaletteIdx
impl StructuralPartialEq for PaletteIdx
Auto Trait Implementations§
impl RefUnwindSafe for PaletteIdx
impl Send for PaletteIdx
impl Sync for PaletteIdx
impl Unpin for PaletteIdx
impl UnwindSafe for PaletteIdx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more