Enum cgmath::Relation [] [src]

pub enum Relation {
    In,
    Cross,
    Out,
}

Spatial relation between two objects.

Variants

In

Completely inside.

Cross

Crosses the boundary.

Out

Completely outside.

Trait Implementations

Derived Implementations

impl PartialEq for Relation

fn eq(&self, __arg_0: &Relation) -> bool

fn ne(&self, __arg_0: &Relation) -> bool

impl PartialOrd for Relation

fn partial_cmp(&self, __arg_0: &Relation) -> Option<Ordering>

fn lt(&self, __arg_0: &Relation) -> bool

fn le(&self, __arg_0: &Relation) -> bool

fn gt(&self, __arg_0: &Relation) -> bool

fn ge(&self, __arg_0: &Relation) -> bool

impl Ord for Relation

fn cmp(&self, __arg_0: &Relation) -> Ordering

impl Hash for Relation

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Relation

impl Debug for Relation

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Relation

fn clone(&self) -> Relation

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

impl Copy for Relation