pub struct Slope<A>(pub A)
where
A: Float;
Expand description
A straight line that passes through the origin y = m * x
Tuple Fields§
§0: A
Implementations§
Trait Implementations§
impl<A> Copy for Slope<A>where
A: Float + Copy,
Auto Trait Implementations§
impl<A> Freeze for Slope<A>where
A: Freeze,
impl<A> RefUnwindSafe for Slope<A>where
A: RefUnwindSafe,
impl<A> Send for Slope<A>
impl<A> Sync for Slope<A>
impl<A> Unpin for Slope<A>where
A: Unpin,
impl<A> UnwindSafe for Slope<A>where
A: UnwindSafe,
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