pub struct ZPlatformView {
pub id: String,
pub z: f32,
pub x0: f32,
pub y0: f32,
pub x1: f32,
pub y1: f32,
}Expand description
Walkable platform at a fixed z (segment.z_platforms).
Fields§
§id: String§z: f32§x0: f32§y0: f32§x1: f32§y1: f32Trait Implementations§
Source§impl Clone for ZPlatformView
impl Clone for ZPlatformView
Source§fn clone(&self) -> ZPlatformView
fn clone(&self) -> ZPlatformView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ZPlatformView
impl Debug for ZPlatformView
Source§impl<'de> Deserialize<'de> for ZPlatformView
impl<'de> Deserialize<'de> for ZPlatformView
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 ZPlatformView
impl PartialEq for ZPlatformView
Source§impl Serialize for ZPlatformView
impl Serialize for ZPlatformView
impl StructuralPartialEq for ZPlatformView
Auto Trait Implementations§
impl Freeze for ZPlatformView
impl RefUnwindSafe for ZPlatformView
impl Send for ZPlatformView
impl Sync for ZPlatformView
impl Unpin for ZPlatformView
impl UnsafeUnpin for ZPlatformView
impl UnwindSafe for ZPlatformView
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