Struct shape_core::Parallelogram
source · [−]Fields
anchor: Point<T>side: (Point<T>, Point<T>)Implementations
sourceimpl<T> Parallelogram<T>
impl<T> Parallelogram<T>
Trait Implementations
sourceimpl<T> From<&'_ Parallelogram<T>> for Polygon<T> where
T: Clone + Num,
impl<T> From<&'_ Parallelogram<T>> for Polygon<T> where
T: Clone + Num,
sourcefn from(v: &Parallelogram<T>) -> Self
fn from(v: &Parallelogram<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<T> RefUnwindSafe for Parallelogram<T> where
T: RefUnwindSafe,
impl<T> Send for Parallelogram<T> where
T: Send,
impl<T> Sync for Parallelogram<T> where
T: Sync,
impl<T> Unpin for Parallelogram<T> where
T: Unpin,
impl<T> UnwindSafe for Parallelogram<T> where
T: UnwindSafe,
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