Struct mutils::geom::Line [−][src]
Tuple Fields
0: Point<N>
1: Point<N>
Implementations
This is to allow creating a new Point, with a new type, from the type given.
i.e. Point::new(1 as u8, 1 as u8)::to::<u32>()
Where n
is a valid from 0.0 to 1.0,
this will return a point on the length of the line.
Calculates if this overlaps another rectangle. If it does, it will return the part of the line that intersects within that rectangle.
None
is returned when no intersection is found.
Trait Implementations
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the /=
operation. Read more
Performs the /=
operation. Read more
Performs the /=
operation. Read more
Performs the /=
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Performs the <<=
operation. Read more
Performs the >>=
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
Returns the value in the new type, but clamped.
Auto Trait Implementations
impl<N> RefUnwindSafe for Line<N> where
N: RefUnwindSafe,
impl<N> UnwindSafe for Line<N> where
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more