[][src]Struct rask_engine::boxes::AABox

pub struct AABox {
    pub pos: Vec2,
    pub size: Vec2,
}

An axis-aligned box.

Fields

pos: Vec2

The position of the box.

size: Vec2

The size, both components must be greater than zero.

Trait Implementations

impl Add<Vec2> for AABox[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<Vec2> for AABox[src]

impl Clone for AABox[src]

impl Collidable for AABox[src]

impl Collide<AABox> for Vec2[src]

impl Collide<AABox> for AABox[src]

impl Collide<AABox> for SRT[src]

impl Collide<AABox> for RBox[src]

impl Collide<RBox> for AABox[src]

impl Collide<SRT> for AABox[src]

impl Collide<Vec2> for AABox[src]

impl Copy for AABox[src]

impl Debug for AABox[src]

impl Eq for AABox[src]

impl From<AABox> for RBox[src]

impl PartialEq<AABox> for AABox[src]

impl StructuralEq for AABox[src]

impl StructuralPartialEq for AABox[src]

impl Sub<Vec2> for AABox[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<Vec2> for AABox[src]

Auto Trait Implementations

impl RefUnwindSafe for AABox

impl Send for AABox

impl Sync for AABox

impl Unpin for AABox

impl UnwindSafe for AABox

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<S, T> Collide<[T]> for S where
    T: Collide<S>, 
[src]

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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

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

type Owned = T

The resulting type after obtaining ownership.

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.