pub struct ActionLog {
pub attack: Option<Point>,
pub heal: Option<Point>,
pub repair: Option<Point>,
}Expand description
Tower 对象的 ActionLog 字段
Fields§
§attack: Option<Point>§heal: Option<Point>§repair: Option<Point>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActionLog
impl<'de> Deserialize<'de> for ActionLog
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 ActionLog
impl RefUnwindSafe for ActionLog
impl Send for ActionLog
impl Sync for ActionLog
impl Unpin for ActionLog
impl UnwindSafe for ActionLog
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