pub struct ActorInner {
pub name: String,
pub c: char,
pub color: Color,
pub coord: Coord,
pub turn: GameRatio,
pub speed: GameRatio,
pub hp_cur: i32,
pub hp_max: u32,
pub fov_radius: u32,
pub visible: bool,
pub behavior: Behavior,
}Fields§
§name: String§c: char§color: Color§coord: Coord§turn: GameRatio§speed: GameRatio§hp_cur: i32§hp_max: u32§fov_radius: u32§visible: bool§behavior: BehaviorTrait Implementations§
Auto Trait Implementations§
impl Freeze for ActorInner
impl RefUnwindSafe for ActorInner
impl Send for ActorInner
impl Sync for ActorInner
impl Unpin for ActorInner
impl UnwindSafe for ActorInner
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