#[repr(C)]pub enum SpriteMode {
NORMAL,
PERIODIC,
}
Expand description
Mirror of olc::Sprite::Mode
.
Variants§
Trait Implementations§
source§impl Clone for SpriteMode
impl Clone for SpriteMode
source§fn clone(&self) -> SpriteMode
fn clone(&self) -> SpriteMode
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 SpriteMode
impl Debug for SpriteMode
source§impl PartialEq<SpriteMode> for SpriteMode
impl PartialEq<SpriteMode> for SpriteMode
source§fn eq(&self, other: &SpriteMode) -> bool
fn eq(&self, other: &SpriteMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpriteMode
impl StructuralPartialEq for SpriteMode
Auto Trait Implementations§
impl RefUnwindSafe for SpriteMode
impl Send for SpriteMode
impl Sync for SpriteMode
impl Unpin for SpriteMode
impl UnwindSafe for SpriteMode
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