pub struct ProfileWire {
pub segments: Vec<ProfileSegment>,
pub names: Vec<TopoName>,
}Expand description
A closed loop of profile segments. Consecutive segments share endpoints;
a single Circle segment is a wire by itself.
Fields§
§segments: Vec<ProfileSegment>§names: Vec<TopoName>The name of each segment, one per segment, by what it was drawn from (a sketch element): the faces a feature sweeps from it are named by it, so they keep their names while dimensions change. Empty, or a zero, where a segment has no such name.
Implementations§
Trait Implementations§
Source§impl Clone for ProfileWire
impl Clone for ProfileWire
Source§impl Debug for ProfileWire
impl Debug for ProfileWire
Source§impl Default for ProfileWire
impl Default for ProfileWire
Source§impl<'de> Deserialize<'de> for ProfileWire
impl<'de> Deserialize<'de> for ProfileWire
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 ProfileWire
impl PartialEq for ProfileWire
Source§impl Serialize for ProfileWire
impl Serialize for ProfileWire
impl StructuralPartialEq for ProfileWire
Auto Trait Implementations§
impl Freeze for ProfileWire
impl RefUnwindSafe for ProfileWire
impl Send for ProfileWire
impl Sync for ProfileWire
impl Unpin for ProfileWire
impl UnsafeUnpin for ProfileWire
impl UnwindSafe for ProfileWire
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