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

Methods

impl<T> LineSegment3<T>
[src]

[src]

Converts this line segment into a range of points.

Trait Implementations

impl<T: Debug> Debug for LineSegment3<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Default> Default for LineSegment3<T>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T: Clone> Clone for LineSegment3<T>
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T> From<Range<Vec3<T>>> for LineSegment3<T>
[src]

[src]

Performs the conversion.