Struct euclid::point::Point4D
[−]
[src]
pub struct Point4D<T> {
pub x: T,
pub y: T,
pub z: T,
pub w: T,
}Fields
x: T
y: T
z: T
w: T
Methods
impl<T: Zero> Point4D<T>[src]
impl<T> Point4D<T>[src]
impl<T: Float> Point4D<T>[src]
Trait Implementations
impl<T: PartialEq> PartialEq for Point4D<T>[src]
fn eq(&self, __arg_0: &Point4D<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Point4D<T>) -> bool
This method tests for !=.
impl<T: Hash> Hash for Point4D<T>[src]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl<T: Eq> Eq for Point4D<T>[src]
impl<T: Encodable> Encodable for Point4D<T>[src]
impl<T: Decodable> Decodable for Point4D<T>[src]
impl<T: Copy> Copy for Point4D<T>[src]
impl<T: Clone> Clone for Point4D<T>[src]
fn clone(&self) -> Point4D<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: Debug> Debug for Point4D<T>[src]
impl<T: Display> Display for Point4D<T>[src]
impl<T: Clone + Add<T, Output=T>> Add for Point4D<T>[src]
type Output = Point4D<T>
The resulting type after applying the + operator
fn add(self, other: Point4D<T>) -> Point4D<T>
The method for the + operator
impl<T: Clone + Sub<T, Output=T>> Sub for Point4D<T>[src]
type Output = Point4D<T>
The resulting type after applying the - operator
fn sub(self, other: Point4D<T>) -> Point4D<T>
The method for the - operator