pub struct XpFile {
pub version: i32,
pub layers: Vec<XpLayer>,
}
Expand description
Structure representing a REXPaint image file which is a stack of layers
Fields§
§version: i32
Version number from header
layers: Vec<XpLayer>
Layers of the image
Implementations§
Source§impl XpFile
impl XpFile
Trait Implementations§
impl StructuralPartialEq for XpFile
Auto Trait Implementations§
impl Freeze for XpFile
impl RefUnwindSafe for XpFile
impl Send for XpFile
impl Sync for XpFile
impl Unpin for XpFile
impl UnwindSafe for XpFile
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