pub enum Boundary {
Error,
Clamp,
}Expand description
Behaviour selected for one side of one axis.
This is the whole v0.1 vocabulary. Extrapolation is never performed under either selection.
Variants§
Error
Reject the coordinate and report the applicable bound.
This is the default for every side.
Clamp
Substitute the nearest declared endpoint coordinate.
The substituted coordinate is a declared knot, so the result is always inside the convex hull of the stored values.
Trait Implementations§
impl Copy for Boundary
impl Eq for Boundary
impl StructuralPartialEq for Boundary
Auto Trait Implementations§
impl Freeze for Boundary
impl RefUnwindSafe for Boundary
impl Send for Boundary
impl Sync for Boundary
impl Unpin for Boundary
impl UnsafeUnpin for Boundary
impl UnwindSafe for Boundary
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