Struct waking_git_core::converters::shmup::Entity
source · pub struct Entity {
pub id: String,
pub scene_id: String,
pub name: String,
pub kind: String,
pub color: String,
pub weapon: String,
pub movement_pattern: String,
pub speed: f32,
pub hp: f32,
pub size: f32,
pub shield: String,
pub destructible: bool,
}
Fields§
§id: String
§scene_id: String
§name: String
§kind: String
§color: String
§weapon: String
§movement_pattern: String
§speed: f32
§hp: f32
§size: f32
§shield: String
§destructible: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Entity
impl<'de> Deserialize<'de> for Entity
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 RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnwindSafe for Entity
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