pub struct FileSet {Show 19 fields
pub version: &'static str,
pub name: &'static str,
pub src_aseprite: &'static [u8],
pub array_json: &'static [u8],
pub basic_json: &'static [u8],
pub hash_json: &'static [u8],
pub array_png: &'static [u8],
pub basic_png: &'static [u8],
pub hash_png: &'static [u8],
pub ase_color_format: AseColorFormat,
pub png_color_profile: PngColorProfile,
pub size: [u32; 2],
pub pixel: [u8; 2],
pub pixels: Option<&'static [RGBA]>,
pub palette: &'static [RGBA],
pub n_frames: usize,
pub n_layers: usize,
pub n_slices: usize,
pub n_frametags: usize,
/* private fields */
}
Expand description
File data
Fields§
§version: &'static str
§name: &'static str
§src_aseprite: &'static [u8]
§array_json: &'static [u8]
§basic_json: &'static [u8]
§hash_json: &'static [u8]
§array_png: &'static [u8]
§basic_png: &'static [u8]
§hash_png: &'static [u8]
§ase_color_format: AseColorFormat
§png_color_profile: PngColorProfile
§size: [u32; 2]
§pixel: [u8; 2]
§pixels: Option<&'static [RGBA]>
§palette: &'static [RGBA]
§n_frames: usize
§n_layers: usize
§n_slices: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileSet
impl RefUnwindSafe for FileSet
impl Send for FileSet
impl Sync for FileSet
impl Unpin for FileSet
impl UnwindSafe for FileSet
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