pub struct InterruptFlags {
pub interrupted_by_damage: bool,
pub interrupted_by_cc: bool,
pub interrupted_by_movement: bool,
}Fields§
§interrupted_by_damage: bool§interrupted_by_cc: bool§interrupted_by_movement: boolTrait Implementations§
Source§impl Clone for InterruptFlags
impl Clone for InterruptFlags
Source§fn clone(&self) -> InterruptFlags
fn clone(&self) -> InterruptFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterruptFlags
impl Debug for InterruptFlags
Source§impl Default for InterruptFlags
impl Default for InterruptFlags
Source§fn default() -> InterruptFlags
fn default() -> InterruptFlags
Returns the “default value” for a type. Read more
impl Copy for InterruptFlags
Auto Trait Implementations§
impl Freeze for InterruptFlags
impl RefUnwindSafe for InterruptFlags
impl Send for InterruptFlags
impl Sync for InterruptFlags
impl Unpin for InterruptFlags
impl UnsafeUnpin for InterruptFlags
impl UnwindSafe for InterruptFlags
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