pub struct OutAndBack {
pub face: Shape,
pub wire: usize,
pub edges: [usize; 2],
pub notch: Option<Notch>,
}Expand description
Two consecutive edges of a face’s wire running out and back along one path. See the module documentation.
Fields§
§face: ShapeThe face, as the shape holds it.
wire: usizeThe wire’s index among the face’s wires as stored.
edges: [usize; 2]The edge run out along and the edge run back along, by index in the wire’s order: the second follows the first, the last wrapping to the first.
notch: Option<Notch>Where one of them runs farther than the other: None for a tail.
Trait Implementations§
Source§impl Clone for OutAndBack
impl Clone for OutAndBack
Source§impl Debug for OutAndBack
impl Debug for OutAndBack
Source§impl PartialEq for OutAndBack
impl PartialEq for OutAndBack
impl StructuralPartialEq for OutAndBack
Auto Trait Implementations§
impl Freeze for OutAndBack
impl RefUnwindSafe for OutAndBack
impl Send for OutAndBack
impl Sync for OutAndBack
impl Unpin for OutAndBack
impl UnsafeUnpin for OutAndBack
impl UnwindSafe for OutAndBack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.