pub struct Spawn {
pub base_object: BaseObject,
pub name: String,
pub hits: i32,
pub hits_max: i32,
pub notify_when_attacked: bool,
pub spawning: Option<Spawning>,
pub off: bool,
pub store: SpawnStore,
pub store_capacity_resource: SpawnStore,
}Expand description
Spawn 对象
Fields§
§base_object: BaseObject§name: String§hits: i32§hits_max: i32§notify_when_attacked: bool§spawning: Option<Spawning>§off: bool§store: SpawnStore§store_capacity_resource: SpawnStoreTrait Implementations§
Source§impl<'de> Deserialize<'de> for Spawn
impl<'de> Deserialize<'de> for Spawn
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 Spawn
impl RefUnwindSafe for Spawn
impl Send for Spawn
impl Sync for Spawn
impl Unpin for Spawn
impl UnwindSafe for Spawn
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