Vec2d

Type Alias Vec2d 

Source
pub type Vec2d = Vec2<f64>;

Aliased Type§

pub struct Vec2d {
    pub t: [f64; 2],
}

Fields§

§t: [f64; 2]

Implementations§

Source§

impl Vec2d

Source

pub fn is_almost_zero(&self) -> bool

Source§

impl Vec2d

Source

pub fn new_raw(x: f64, y: f64) -> Self

Trait Implementations§

Source§

impl Hash for Vec2d

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Eq for Vec2d