#[non_exhaustive]pub enum MitreSide {
Segment {
corner: Point3,
direction: Vec3,
},
Arc(MitreBand),
}Expand description
One side of a corner mitred beside an arc (#248).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Segment
A straight segment: near the corner its tube is the cylinder of the
disk radius about the line through corner along direction.
Arc(MitreBand)
An arc: near the corner its tube is the band.
Trait Implementations§
impl Copy for MitreSide
impl StructuralPartialEq for MitreSide
Auto Trait Implementations§
impl Freeze for MitreSide
impl RefUnwindSafe for MitreSide
impl Send for MitreSide
impl Sync for MitreSide
impl Unpin for MitreSide
impl UnsafeUnpin for MitreSide
impl UnwindSafe for MitreSide
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