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 Forget for ChainRef
impl Freeze for ChainRefwhere
*const u8 is !null: Freeze,
PhantomData<EdgeRef>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<u32>: Freeze,
impl Move for ChainRef
impl RefUnwindSafe for ChainRef
impl Send for ChainRefwhere
RawVecInner: Send,
impl Sync for ChainRefwhere
RawVecInner: Sync,
impl Unpin for ChainRef
impl UnsafeUnpin for ChainRefwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<EdgeRef>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for ChainRefwhere
RawVecInner: UnwindSafe,
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