Struct cgmath::Obb2 [] [src]

pub struct Obb2<S> {
    pub center: Point2<S>,
    pub axis: Vector2<S>,
    pub extents: Vector2<S>,
}

Fields

center
axis
extents

Trait Implementations

Derived Implementations

impl<S: Decodable> Decodable for Obb2<S>

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Obb2<S>, __D::Error>

impl<S: Encodable> Encodable for Obb2<S>

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl<S: PartialEq> PartialEq for Obb2<S>

fn eq(&self, __arg_0: &Obb2<S>) -> bool

fn ne(&self, __arg_0: &Obb2<S>) -> bool

impl<S: Clone> Clone for Obb2<S>

fn clone(&self) -> Obb2<S>

fn clone_from(&mut self, source: &Self)

impl<S: Copy> Copy for Obb2<S>