pub struct Tile { /* private fields */ }Expand description
Represents a tile within the Game Boy context, should contain the pixel buffer of the tile. The tiles are always 8x8 pixels in size.
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for Tile
impl FromWasmAbi for Tile
Source§impl IntoWasmAbi for Tile
impl IntoWasmAbi for Tile
Source§impl LongRefFromWasmAbi for Tile
impl LongRefFromWasmAbi for Tile
Source§impl OptionFromWasmAbi for Tile
impl OptionFromWasmAbi for Tile
Source§impl OptionIntoWasmAbi for Tile
impl OptionIntoWasmAbi for Tile
Source§impl RefFromWasmAbi for Tile
impl RefFromWasmAbi for Tile
Source§impl RefMutFromWasmAbi for Tile
impl RefMutFromWasmAbi for Tile
Source§impl TryFromJsValue for Tile
impl TryFromJsValue for Tile
Source§impl VectorFromWasmAbi for Tile
impl VectorFromWasmAbi for Tile
Source§impl VectorIntoWasmAbi for Tile
impl VectorIntoWasmAbi for Tile
impl Copy for Tile
impl Eq for Tile
impl StructuralPartialEq for Tile
impl SupportsConstructor for Tile
impl SupportsInstanceProperty for Tile
impl SupportsStaticProperty for Tile
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnwindSafe for Tile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.