#[non_exhaustive]pub struct FixedReferenceChain { /* private fields */ }Expand description
A chain checked for a fixed-reference sweep; only fixed_reference_plan
makes one, so a chain in hand has passed its checks.
Implementations§
Source§impl FixedReferenceChain
impl FixedReferenceChain
Sourcepub const fn closed(&self) -> bool
pub const fn closed(&self) -> bool
Whether the last piece joins the first as a loop (see
fixed_reference_plan).
Sourcepub const fn walls(&self) -> f64
pub const fn walls(&self) -> f64
The proven distance of the walls from the exact surface: zero for
exactly one segment, else half the chord budget, of which the arcs’
largest twist term (Self::twist) is paid first and the spans get
the rest.
Trait Implementations§
Source§impl Clone for FixedReferenceChain
impl Clone for FixedReferenceChain
Source§fn clone(&self) -> FixedReferenceChain
fn clone(&self) -> FixedReferenceChain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FixedReferenceChain
impl Debug for FixedReferenceChain
Source§impl PartialEq for FixedReferenceChain
impl PartialEq for FixedReferenceChain
impl StructuralPartialEq for FixedReferenceChain
Auto Trait Implementations§
impl Freeze for FixedReferenceChain
impl RefUnwindSafe for FixedReferenceChain
impl Send for FixedReferenceChain
impl Sync for FixedReferenceChain
impl Unpin for FixedReferenceChain
impl UnsafeUnpin for FixedReferenceChain
impl UnwindSafe for FixedReferenceChain
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more