Enum plotpy::RayEndpoint
source · [−]Expand description
Holds either the second point coordinates of a ray or the slope of the ray
Variants
Coords(f64, f64)
Coordinates of the second point
Slope(f64)
Slope of the ray
Horizontal
Indicates a horizontal ray
Vertical
Indicates a vertical ray
Trait Implementations
sourceimpl Clone for RayEndpoint
impl Clone for RayEndpoint
sourcefn clone(&self) -> RayEndpoint
fn clone(&self) -> RayEndpoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for RayEndpoint
impl Send for RayEndpoint
impl Sync for RayEndpoint
impl Unpin for RayEndpoint
impl UnwindSafe for RayEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more