pub struct Locomotion;
Expand description
Represent the locomotion of an agent
Trait Implementations§
Source§impl Clone for Locomotion
impl Clone for Locomotion
Source§fn clone(&self) -> Locomotion
fn clone(&self) -> Locomotion
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 Locomotion
impl RefUnwindSafe for Locomotion
impl Send for Locomotion
impl Sync for Locomotion
impl Unpin for Locomotion
impl UnwindSafe for Locomotion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<'a, T1> ResourceQuery<'a> for T1where
T1: ResourceTrait,
impl<'a, T1> ResourceQuery<'a> for T1where
T1: ResourceTrait,
Source§type Answer = ResourceGuard<'a, T1>
type Answer = ResourceGuard<'a, T1>
Type of the answer to a query, should be a tuple
Source§fn has_resources(&self, rss: &Resources) -> bool
fn has_resources(&self, rss: &Resources) -> bool
Query if the resources exist
Source§fn borrow_resources(
&self,
rss: &'a Resources,
) -> Option<<T1 as ResourceQuery<'a>>::Answer>
fn borrow_resources( &self, rss: &'a Resources, ) -> Option<<T1 as ResourceQuery<'a>>::Answer>
Query and borrow the resources