pub enum InterpolationSampling {
Center,
Centroid,
Sample,
First,
Either,
}Variants§
Implementations§
Source§impl InterpolationSampling
impl InterpolationSampling
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if this value is of type Center. Returns false otherwise
Sourcepub const fn is_centroid(&self) -> bool
pub const fn is_centroid(&self) -> bool
Returns true if this value is of type Centroid. Returns false otherwise
Sourcepub const fn is_sample(&self) -> bool
pub const fn is_sample(&self) -> bool
Returns true if this value is of type Sample. Returns false otherwise
Trait Implementations§
Source§impl Clone for InterpolationSampling
impl Clone for InterpolationSampling
Source§fn clone(&self) -> InterpolationSampling
fn clone(&self) -> InterpolationSampling
Returns a duplicate of the value. Read more
1.0.0 · 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 InterpolationSampling
impl Debug for InterpolationSampling
Source§impl Display for InterpolationSampling
impl Display for InterpolationSampling
Source§impl FromStr for InterpolationSampling
impl FromStr for InterpolationSampling
Source§impl PartialEq for InterpolationSampling
impl PartialEq for InterpolationSampling
impl Copy for InterpolationSampling
impl Eq for InterpolationSampling
impl StructuralPartialEq for InterpolationSampling
Auto Trait Implementations§
impl Freeze for InterpolationSampling
impl RefUnwindSafe for InterpolationSampling
impl Send for InterpolationSampling
impl Sync for InterpolationSampling
impl Unpin for InterpolationSampling
impl UnwindSafe for InterpolationSampling
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
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