pub struct RetainedTrimInterval1 { /* private fields */ }Expand description
Exact trim interval on a retained curve domain.
Implementations§
Source§impl RetainedTrimInterval1
impl RetainedTrimInterval1
Sourcepub fn try_new(
start: Real,
end: Real,
domain: &RetainedParameterDomain1,
policy: &CurvePolicy,
) -> CurveResult<Classification<Self>>
pub fn try_new( start: Real, end: Real, domain: &RetainedParameterDomain1, policy: &CurvePolicy, ) -> CurveResult<Classification<Self>>
Constructs a nondegenerate trim interval whose endpoints lie in domain.
Sourcepub const fn direction(&self) -> RetainedTrimDirection
pub const fn direction(&self) -> RetainedTrimDirection
Returns the exact trim direction.
Trait Implementations§
Source§impl Clone for RetainedTrimInterval1
impl Clone for RetainedTrimInterval1
Source§fn clone(&self) -> RetainedTrimInterval1
fn clone(&self) -> RetainedTrimInterval1
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 RetainedTrimInterval1
impl Debug for RetainedTrimInterval1
Source§impl PartialEq for RetainedTrimInterval1
impl PartialEq for RetainedTrimInterval1
Source§fn eq(&self, other: &RetainedTrimInterval1) -> bool
fn eq(&self, other: &RetainedTrimInterval1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RetainedTrimInterval1
Auto Trait Implementations§
impl !Freeze for RetainedTrimInterval1
impl !RefUnwindSafe for RetainedTrimInterval1
impl !Sync for RetainedTrimInterval1
impl Send for RetainedTrimInterval1
impl Unpin for RetainedTrimInterval1
impl UnsafeUnpin for RetainedTrimInterval1
impl UnwindSafe for RetainedTrimInterval1
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