Expand description
The direction this entity is positioned.
Tuple Fields
0: Vec3<f32>
Implementations
Trait Implementations
sourceimpl Component for PositionComp
impl Component for PositionComp
type Storage = VecStorage<PositionComp>
type Storage = VecStorage<PositionComp>
Associated storage type for this component.
sourceimpl Default for PositionComp
impl Default for PositionComp
sourcefn default() -> PositionComp
fn default() -> PositionComp
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PositionComp
impl Send for PositionComp
impl Sync for PositionComp
impl Unpin for PositionComp
impl UnwindSafe for PositionComp
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
sourcefn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
sourcefn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.