Enum plotpy::RayEndpoint
source · pub enum RayEndpoint {
Coords(f64, f64),
Slope(f64),
Horizontal,
Vertical,
}
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§
source§impl Clone for RayEndpoint
impl Clone for RayEndpoint
source§fn clone(&self) -> RayEndpoint
fn clone(&self) -> RayEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RayEndpoint
impl RefUnwindSafe for RayEndpoint
impl Send for RayEndpoint
impl Sync for RayEndpoint
impl Unpin for RayEndpoint
impl UnwindSafe for RayEndpoint
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)