pub struct JSONPatAnim {
pub samplers: Vec<JSONPatSampler>,
pub tracks: Vec<JSONPatTrack>,
pub textureNames: Vec<String>,
pub paletteNames: Vec<String>,
pub runtimeTextures: Vec<u32>,
pub runtimePalettes: Vec<u32>,
pub name: String,
pub sourcePath: String,
pub frameDuration: u16,
pub wrapMode: AnimationWrapMode,
}
Fields§
§samplers: Vec<JSONPatSampler>
§tracks: Vec<JSONPatTrack>
§textureNames: Vec<String>
§paletteNames: Vec<String>
§runtimeTextures: Vec<u32>
§runtimePalettes: Vec<u32>
§name: String
§sourcePath: String
§frameDuration: u16
§wrapMode: AnimationWrapMode
Trait Implementations§
Source§impl Clone for JSONPatAnim
impl Clone for JSONPatAnim
Source§fn clone(&self) -> JSONPatAnim
fn clone(&self) -> JSONPatAnim
Returns a copy 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 JSONPatAnim
impl Debug for JSONPatAnim
Source§impl<'de> Deserialize<'de> for JSONPatAnim
impl<'de> Deserialize<'de> for JSONPatAnim
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JSONPatAnim
impl PartialEq for JSONPatAnim
Source§impl Serialize for JSONPatAnim
impl Serialize for JSONPatAnim
impl StructuralPartialEq for JSONPatAnim
Auto Trait Implementations§
impl Freeze for JSONPatAnim
impl RefUnwindSafe for JSONPatAnim
impl Send for JSONPatAnim
impl Sync for JSONPatAnim
impl Unpin for JSONPatAnim
impl UnwindSafe for JSONPatAnim
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