Struct peppi::model::item::Item [−][src]
pub struct Item {
pub id: u32,
pub type: Type,
pub state: State,
pub direction: Option<Direction>,
pub position: Position,
pub velocity: Velocity,
pub damage: u16,
pub timer: f32,
pub misc: Option<[u8; 4]>,
pub owner: Option<Option<Port>>,
}
Fields
id: u32
type: Type
state: State
direction: Option<Direction>
position: Position
velocity: Velocity
damage: u16
timer: f32
misc: Option<[u8; 4]>
owner: Option<Option<Port>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
Mutably borrows from an owned value. Read more