pub struct Strike<const N: usize> {
pub shot: ShotId,
pub target: u32,
pub gone: bool,
pub pos: [i32; N],
}Fields§
§shot: ShotId§target: u32§gone: bool§pos: [i32; N]Trait Implementations§
impl<const N: usize> Copy for Strike<N>
impl<const N: usize> Eq for Strike<N>
impl<const N: usize> StructuralPartialEq for Strike<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Strike<N>
impl<const N: usize> RefUnwindSafe for Strike<N>
impl<const N: usize> Send for Strike<N>
impl<const N: usize> Sync for Strike<N>
impl<const N: usize> Unpin for Strike<N>
impl<const N: usize> UnsafeUnpin for Strike<N>
impl<const N: usize> UnwindSafe for Strike<N>
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