pub struct ContourFragment { /* private fields */ }Expand description
One simple, open polygon fragment of a contour band.
Fragments are in canonical ternary composition coordinates. They have no holes and do not overlap each other in positive area.
Implementations§
Source§impl ContourFragment
impl ContourFragment
Sourcepub fn vertices(&self) -> &[TernaryCoordinate]
pub fn vertices(&self) -> &[TernaryCoordinate]
Return the open polygon ring. The final edge is implicit.
Trait Implementations§
Source§impl Clone for ContourFragment
impl Clone for ContourFragment
Source§fn clone(&self) -> ContourFragment
fn clone(&self) -> ContourFragment
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 ContourFragment
impl Debug for ContourFragment
Source§impl PartialEq for ContourFragment
impl PartialEq for ContourFragment
impl StructuralPartialEq for ContourFragment
Auto Trait Implementations§
impl Freeze for ContourFragment
impl RefUnwindSafe for ContourFragment
impl Send for ContourFragment
impl Sync for ContourFragment
impl Unpin for ContourFragment
impl UnsafeUnpin for ContourFragment
impl UnwindSafe for ContourFragment
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