pub enum BdyKind {
Normal,
Hostage {
freed_frame: FrameNumberNext,
},
}Expand description
Hittable volume of an object.
Variants§
Normal
Regular hittable body.
Hostage
For type 5, frame number to switch to when hit by [ItrKind::Normal].
Fields
§
freed_frame: FrameNumberNextFrame number to switch to when freed.
Trait Implementations§
impl Copy for BdyKind
impl Eq for BdyKind
impl StructuralPartialEq for BdyKind
Auto Trait Implementations§
impl Freeze for BdyKind
impl RefUnwindSafe for BdyKind
impl Send for BdyKind
impl Sync for BdyKind
impl Unpin for BdyKind
impl UnwindSafe for BdyKind
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