pub enum AsepriteLayer {
Group {
name: String,
id: usize,
visible: bool,
child_level: u16,
},
Normal {
name: String,
id: usize,
blend_mode: AsepriteBlendMode,
opacity: Option<u8>,
visible: bool,
child_level: u16,
cels: Vec<AsepriteCel>,
},
}
Expand description
An aseprite layer
Variants§
Group
A layer group
Fields
Normal
A normal layer
Implementations§
Trait Implementations§
Source§impl Clone for AsepriteLayer
impl Clone for AsepriteLayer
Source§fn clone(&self) -> AsepriteLayer
fn clone(&self) -> AsepriteLayer
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 AsepriteLayer
impl RefUnwindSafe for AsepriteLayer
impl Send for AsepriteLayer
impl Sync for AsepriteLayer
impl Unpin for AsepriteLayer
impl UnwindSafe for AsepriteLayer
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