pub enum LayerType {
Image,
Group,
Tilemap(u32),
}
Expand description
Types of layer.
Variants§
Image
A regular image layer. This is the normal layer type.
Group
A layer that groups other layers and does not contain any image data. In Aseprite these are represented by a folder icon.
Tilemap(u32)
A tilemap layer. Contains the index of the tileset used for the tiles.
In Aseprite these are represented by a grid icon.
Trait Implementations§
source§impl PartialEq for LayerType
impl PartialEq for LayerType
impl Copy for LayerType
impl Eq for LayerType
impl StructuralPartialEq for LayerType
Auto Trait Implementations§
impl Freeze for LayerType
impl RefUnwindSafe for LayerType
impl Send for LayerType
impl Sync for LayerType
impl Unpin for LayerType
impl UnwindSafe for LayerType
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