Struct geo_aid::generator::expression::Line
source · pub struct Line {
pub origin: Complex,
pub direction: Complex,
}Expand description
Represents a line in a 2D euclidean space.
Fields§
§origin: ComplexLine’s origin as a complex number.
direction: ComplexA normalized direction vector.
Implementations§
Trait Implementations§
impl Copy for Line
Auto Trait Implementations§
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