pub enum EndType {
Polygon,
Joined,
Butt,
Square,
Round,
}Expand description
End type for open path offsetting. Direct port from clipper.offset.h line 23.
Polygon: Offsets only one side of a closed pathJoined: Offsets both sides of a path, with joined endsButt: Offsets both sides of a path, with square blunt endsSquare: Offsets both sides of a path, with square extended endsRound: Offsets both sides of a path, with round extended ends
Variants§
Trait Implementations§
impl Copy for EndType
impl Eq for EndType
impl StructuralPartialEq for EndType
Auto Trait Implementations§
impl Freeze for EndType
impl RefUnwindSafe for EndType
impl Send for EndType
impl Sync for EndType
impl Unpin for EndType
impl UnwindSafe for EndType
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