pub struct SceneConfig {
pub width: usize,
pub height: usize,
pub frame_count: usize,
pub object_width: usize,
pub object_height: usize,
pub object_start_x: i32,
pub object_stop_x: i32,
pub object_top_y: i32,
pub move_frames: usize,
pub thin_vertical_x: i32,
}Fields§
§width: usize§height: usize§frame_count: usize§object_width: usize§object_height: usize§object_start_x: i32§object_stop_x: i32§object_top_y: i32§move_frames: usize§thin_vertical_x: i32Trait Implementations§
Source§impl Clone for SceneConfig
impl Clone for SceneConfig
Source§fn clone(&self) -> SceneConfig
fn clone(&self) -> SceneConfig
Returns a duplicate 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 SceneConfig
impl Debug for SceneConfig
Source§impl Default for SceneConfig
impl Default for SceneConfig
Source§impl<'de> Deserialize<'de> for SceneConfig
impl<'de> Deserialize<'de> for SceneConfig
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
Auto Trait Implementations§
impl Freeze for SceneConfig
impl RefUnwindSafe for SceneConfig
impl Send for SceneConfig
impl Sync for SceneConfig
impl Unpin for SceneConfig
impl UnsafeUnpin for SceneConfig
impl UnwindSafe for SceneConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().