pub struct ChainRef {
pub source: ChainSource,
pub closed: bool,
pub reversed: bool,
pub side: ChainSide,
pub offset: f64,
pub start: Option<Point3>,
}Expand description
An ordered chain of curves to machine along.
Fields§
§source: ChainSource§closed: boolThe chain closes on itself; resolution checks it and reports a mismatch.
reversed: boolTraverse opposite to the stored order.
side: ChainSideWhich side of the chain the tool stays on.
offset: f64Extra offset from the chain towards side, in model units (may be negative).
start: Option<Point3>Where the tool starts along the chain (nearest chain point to this, in
model coordinates); None: the chain’s first point.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChainRef
impl<'de> Deserialize<'de> for ChainRef
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
impl StructuralPartialEq for ChainRef
Auto Trait Implementations§
impl Freeze for ChainRef
impl RefUnwindSafe for ChainRef
impl Send for ChainRef
impl Sync for ChainRef
impl Unpin for ChainRef
impl UnsafeUnpin for ChainRef
impl UnwindSafe for ChainRef
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