pub struct FormationSlot {
pub offset: Vec2,
pub role: &'static str,
}Expand description
One slot in a formation (offset from leader).
Fields§
§offset: Vec2§role: &'static strImplementations§
Trait Implementations§
Source§impl Clone for FormationSlot
impl Clone for FormationSlot
Source§fn clone(&self) -> FormationSlot
fn clone(&self) -> FormationSlot
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 moreAuto Trait Implementations§
impl Freeze for FormationSlot
impl RefUnwindSafe for FormationSlot
impl Send for FormationSlot
impl Sync for FormationSlot
impl Unpin for FormationSlot
impl UnsafeUnpin for FormationSlot
impl UnwindSafe for FormationSlot
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