[−][src]Struct genie_rec::actions::PatrolCommand
Task a group of objects to patrol along a given path.
Fields
waypoints: ArrayVec<[Location2; 10]>
The waypoints that this patrol should pass through.
objects: ObjectsList
The objects to include in this formation.
Implementations
impl PatrolCommand
[src]
pub fn read_from(input: impl Read) -> Result<Self>
[src]
pub fn write_to<W: Write>(&self, output: &mut W) -> Result<()>
[src]
Trait Implementations
impl Clone for PatrolCommand
[src]
fn clone(&self) -> PatrolCommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PatrolCommand
[src]
impl Default for PatrolCommand
[src]
fn default() -> PatrolCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatrolCommand
impl Send for PatrolCommand
impl Sync for PatrolCommand
impl Unpin for PatrolCommand
impl UnwindSafe for PatrolCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,