pub enum RawAsepriteCel {
Raw {
width: u16,
height: u16,
pixels: Vec<AsepritePixel>,
},
Linked {
frame_position: u16,
},
Compressed {
width: u16,
height: u16,
pixels: Vec<AsepritePixel>,
},
}Expand description
Raw Cel
Variants§
Raw
Raw Cel Data
Fields
§
pixels: Vec<AsepritePixel>The pixels themselves
Linked
Linked Cel Data
Compressed
Compressed Cel Data
Trait Implementations§
Source§impl Clone for RawAsepriteCel
impl Clone for RawAsepriteCel
Source§fn clone(&self) -> RawAsepriteCel
fn clone(&self) -> RawAsepriteCel
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RawAsepriteCel
impl RefUnwindSafe for RawAsepriteCel
impl Send for RawAsepriteCel
impl Sync for RawAsepriteCel
impl Unpin for RawAsepriteCel
impl UnwindSafe for RawAsepriteCel
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