pub enum EdgeSelection {
All,
OfFaces(Vec<[f64; 3]>),
OfPickedFaces(Vec<FaceProbe>),
Near(Vec<[f64; 3]>),
Picked(Vec<EdgeProbe>),
}Expand description
Which edges of the current solid a dress-up applies to. Edges are identified geometrically: by a face they border (sample point on the face) or by a point near the edge itself.
Variants§
All
OfFaces(Vec<[f64; 3]>)
OfPickedFaces(Vec<FaceProbe>)
The edges bordering the picked faces, each found by its name when it has one.
Near(Vec<[f64; 3]>)
Picked(Vec<EdgeProbe>)
Edges picked one by one: each the nearest edge to its point that runs along its direction there.
Trait Implementations§
Source§impl Clone for EdgeSelection
impl Clone for EdgeSelection
Source§impl Debug for EdgeSelection
impl Debug for EdgeSelection
Source§impl<'de> Deserialize<'de> for EdgeSelection
impl<'de> Deserialize<'de> for EdgeSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EdgeSelection
impl PartialEq for EdgeSelection
Source§impl Serialize for EdgeSelection
impl Serialize for EdgeSelection
impl StructuralPartialEq for EdgeSelection
Auto Trait Implementations§
impl Forget for EdgeSelection
impl Freeze for EdgeSelection
impl Move for EdgeSelection
impl RefUnwindSafe for EdgeSelection
impl Send for EdgeSelection
impl Sync for EdgeSelection
impl Unpin for EdgeSelection
impl UnsafeUnpin for EdgeSelection
impl UnwindSafe for EdgeSelection
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