pub struct ShoelaceBoxArea;Expand description
Cartesian area for a Box: (xmax - xmin) * (ymax - ymin).
Mirrors boost::geometry::strategy::area::cartesian_box<> from
strategy/cartesian/area_box.hpp:28-48 applied through the
dispatch::area<Box, box_tag> arm at
algorithms/area.hpp:149-151.
Trait Implementations§
Source§impl<B> AreaStrategy<B> for ShoelaceBoxAreawhere
B: Box,
<B::Point as Point>::Cs: CoordinateSystem,
<<B::Point as Point>::Cs as CoordinateSystem>::Family: SameAs<CartesianFamily>,
impl<B> AreaStrategy<B> for ShoelaceBoxAreawhere
B: Box,
<B::Point as Point>::Cs: CoordinateSystem,
<<B::Point as Point>::Cs as CoordinateSystem>::Family: SameAs<CartesianFamily>,
Source§impl Clone for ShoelaceBoxArea
impl Clone for ShoelaceBoxArea
Source§fn clone(&self) -> ShoelaceBoxArea
fn clone(&self) -> ShoelaceBoxArea
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShoelaceBoxArea
Source§impl Debug for ShoelaceBoxArea
impl Debug for ShoelaceBoxArea
Source§impl Default for ShoelaceBoxArea
impl Default for ShoelaceBoxArea
Source§fn default() -> ShoelaceBoxArea
fn default() -> ShoelaceBoxArea
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShoelaceBoxArea
impl RefUnwindSafe for ShoelaceBoxArea
impl Send for ShoelaceBoxArea
impl Sync for ShoelaceBoxArea
impl Unpin for ShoelaceBoxArea
impl UnsafeUnpin for ShoelaceBoxArea
impl UnwindSafe for ShoelaceBoxArea
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