pub enum Line {
Vertical(f64),
Horizontal(f64),
Angle {
x: f64,
y: f64,
degrees: f64,
},
}
Expand description
An infinite line.
Variants§
Vertical(f64)
A vertical line, passing through a given x
coordinate.
Horizontal(f64)
A horizontal line, passing through a given y
coordinate.
Angle
An angled line passing through (x, y)
at degrees
degrees counter-clockwise
to the horizontal.
Trait Implementations§
source§impl PartialEq for Line
impl PartialEq for Line
impl StructuralPartialEq for Line
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more