[][src]Enum hassium_navigation::component::NavAgentTarget

pub enum NavAgentTarget {
    Point(NavVec3),
    Entity(Entity),
}

Nav agent target.

Variants

Point(NavVec3)

Point in world space.

Entity(Entity)

Entity to follow.

Methods

impl NavAgentTarget[src]

pub fn is_point(&self) -> bool[src]

pub fn is_entity(&self) -> bool[src]

Trait Implementations

impl Clone for NavAgentTarget[src]

impl Copy for NavAgentTarget[src]

impl Debug for NavAgentTarget[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Erased for T

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,