pub struct PowerDiagramOptions {
pub bounding_box: Option<(f64, f64, f64, f64)>,
}Expand description
Options controlling power_diagram.
Fields§
§bounding_box: Option<(f64, f64, f64, f64)>Explicit clipping rectangle (min_x, min_y, max_x, max_y).
If None the bounding box is derived from the input point extents
expanded by 50 % on each side (plus an absolute minimum padding of
1.0 unit so single-point inputs get a sensible box).
Trait Implementations§
Source§impl Clone for PowerDiagramOptions
impl Clone for PowerDiagramOptions
Source§fn clone(&self) -> PowerDiagramOptions
fn clone(&self) -> PowerDiagramOptions
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 moreSource§impl Debug for PowerDiagramOptions
impl Debug for PowerDiagramOptions
Auto Trait Implementations§
impl Freeze for PowerDiagramOptions
impl RefUnwindSafe for PowerDiagramOptions
impl Send for PowerDiagramOptions
impl Sync for PowerDiagramOptions
impl Unpin for PowerDiagramOptions
impl UnsafeUnpin for PowerDiagramOptions
impl UnwindSafe for PowerDiagramOptions
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