pub struct LegacyMask {
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
pub name: String,
pub bitmap: Vec<u8>,
}Expand description
A legacy mask chunk (deprecated in modern Aseprite, preserved for round-trip fidelity).
Fields§
§x: i16§y: i16§width: u16§height: u16§name: String§bitmap: Vec<u8>Trait Implementations§
Source§impl Clone for LegacyMask
impl Clone for LegacyMask
Source§fn clone(&self) -> LegacyMask
fn clone(&self) -> LegacyMask
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 moreSource§impl Debug for LegacyMask
impl Debug for LegacyMask
Source§impl PartialEq for LegacyMask
impl PartialEq for LegacyMask
impl StructuralPartialEq for LegacyMask
Auto Trait Implementations§
impl Freeze for LegacyMask
impl RefUnwindSafe for LegacyMask
impl Send for LegacyMask
impl Sync for LegacyMask
impl Unpin for LegacyMask
impl UnsafeUnpin for LegacyMask
impl UnwindSafe for LegacyMask
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