pub struct PropDef {
pub attach: String,
pub effects: Vec<String>,
pub gap: u32,
}Fields§
§attach: String§effects: Vec<String>§gap: u32Extra space before the prop, in sprite pixels (a practice wall stands back from the player).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PropDef
impl<'de> Deserialize<'de> for PropDef
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
impl StructuralPartialEq for PropDef
Auto Trait Implementations§
impl Forget for PropDef
impl Freeze for PropDef
impl Move for PropDef
impl RefUnwindSafe for PropDef
impl Send for PropDef
impl Sync for PropDef
impl Unpin for PropDef
impl UnsafeUnpin for PropDef
impl UnwindSafe for PropDef
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