pub struct MultiPartShape {
pub bbox: Box2D,
pub num_parts: i32,
pub num_points: i32,
pub parts: Vec<i32>,
pub points: Vec<Point>,
}Expand description
A multi-part shape (PolyLine or Polygon)
Fields§
§bbox: Box2DBounding box
num_parts: i32Number of parts
num_points: i32Number of points
parts: Vec<i32>Part start indices
points: Vec<Point>Points
Implementations§
Trait Implementations§
Source§impl Clone for MultiPartShape
impl Clone for MultiPartShape
Source§fn clone(&self) -> MultiPartShape
fn clone(&self) -> MultiPartShape
Returns a duplicate 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 moreSource§impl Debug for MultiPartShape
impl Debug for MultiPartShape
Source§impl PartialEq for MultiPartShape
impl PartialEq for MultiPartShape
impl StructuralPartialEq for MultiPartShape
Auto Trait Implementations§
impl Freeze for MultiPartShape
impl RefUnwindSafe for MultiPartShape
impl Send for MultiPartShape
impl Sync for MultiPartShape
impl Unpin for MultiPartShape
impl UnsafeUnpin for MultiPartShape
impl UnwindSafe for MultiPartShape
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