Enum minetest_protocol::wire::types::TileAnimationParams   
source · pub enum TileAnimationParams {
    None,
    VerticalFrames {
        aspect_w: u16,
        aspect_h: u16,
        length: f32,
    },
    Sheet2D {
        frames_w: u8,
        frames_h: u8,
        frame_length: f32,
    },
}Variants§
Trait Implementations§
source§impl Clone for TileAnimationParams
 
impl Clone for TileAnimationParams
source§fn clone(&self) -> TileAnimationParams
 
fn clone(&self) -> TileAnimationParams
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 TileAnimationParams
 
impl Debug for TileAnimationParams
source§impl Deserialize for TileAnimationParams
 
impl Deserialize for TileAnimationParams
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<TileAnimationParams> for TileAnimationParams
 
impl PartialEq<TileAnimationParams> for TileAnimationParams
source§fn eq(&self, other: &TileAnimationParams) -> bool
 
fn eq(&self, other: &TileAnimationParams) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.