Struct vek::geom::repr_c::LineSegment3
[−]
[src]
pub struct LineSegment3<T> { pub start: Vec3<T>, pub end: Vec3<T>, }
3D Line segment, represented by two points, start
and end
.
Fields
start: Vec3<T>
end: Vec3<T>
Methods
impl<T> LineSegment3<T>
[src]
fn into_range(self) -> Range<Vec3<T>>
[src]
Converts this line segment into a range of points.
Trait Implementations
impl<T: Debug> Debug for LineSegment3<T>
[src]
impl<T: Default> Default for LineSegment3<T>
[src]
fn default() -> LineSegment3<T>
[src]
Returns the "default value" for a type. Read more
impl<T: Clone> Clone for LineSegment3<T>
[src]
fn clone(&self) -> LineSegment3<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for LineSegment3<T>
[src]
impl<T: Hash> Hash for LineSegment3<T>
[src]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Eq> Eq for LineSegment3<T>
[src]
impl<T: PartialEq> PartialEq for LineSegment3<T>
[src]
fn eq(&self, __arg_0: &LineSegment3<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineSegment3<T>) -> bool
[src]
This method tests for !=
.