pub struct TerrainSpriteFrame {
pub num_frames: i16,
pub num_facets: i16,
pub frame_id: i16,
}
Fields§
§num_frames: i16
§num_facets: i16
§frame_id: i16
Implementations§
Trait Implementations§
Source§impl Clone for TerrainSpriteFrame
impl Clone for TerrainSpriteFrame
Source§fn clone(&self) -> TerrainSpriteFrame
fn clone(&self) -> TerrainSpriteFrame
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 TerrainSpriteFrame
impl Debug for TerrainSpriteFrame
Source§impl Default for TerrainSpriteFrame
impl Default for TerrainSpriteFrame
Source§fn default() -> TerrainSpriteFrame
fn default() -> TerrainSpriteFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TerrainSpriteFrame
impl RefUnwindSafe for TerrainSpriteFrame
impl Send for TerrainSpriteFrame
impl Sync for TerrainSpriteFrame
impl Unpin for TerrainSpriteFrame
impl UnwindSafe for TerrainSpriteFrame
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