[−][src]Struct nannou::color::gradient::Range
A domain range for gradient slices.
Trait Implementations
impl<T> AbsDiffEq<Range<T>> for Range<T> where
T: AbsDiffEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: AbsDiffEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
type Epsilon = <T as AbsDiffEq<T>>::Epsilon
Used for specifying relative comparisons.
fn default_epsilon() -> <Range<T> as AbsDiffEq<Range<T>>>::Epsilon
[src]
fn abs_diff_eq(
&self,
other: &Range<T>,
epsilon: <T as AbsDiffEq<T>>::Epsilon
) -> bool
[src]
&self,
other: &Range<T>,
epsilon: <T as AbsDiffEq<T>>::Epsilon
) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
impl<T> Clone for Range<T> where
T: Clone + Float,
[src]
T: Clone + Float,
impl<T> Debug for Range<T> where
T: Debug + Float,
[src]
T: Debug + Float,
impl<T> From<Range<T>> for Range<T> where
T: Float,
[src]
T: Float,
impl<T> From<RangeFrom<T>> for Range<T> where
T: Float,
[src]
T: Float,
impl<T> From<RangeFull> for Range<T> where
T: Float,
[src]
T: Float,
impl<T> From<RangeTo<T>> for Range<T> where
T: Float,
[src]
T: Float,
impl<T> PartialEq<Range<T>> for Range<T> where
T: PartialEq<T> + Float,
[src]
T: PartialEq<T> + Float,
impl<T> RelativeEq<Range<T>> for Range<T> where
T: RelativeEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: RelativeEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
fn default_max_relative() -> <Range<T> as AbsDiffEq<Range<T>>>::Epsilon
[src]
fn relative_eq(
&self,
other: &Range<T>,
epsilon: <Range<T> as AbsDiffEq<Range<T>>>::Epsilon,
max_relative: <Range<T> as AbsDiffEq<Range<T>>>::Epsilon
) -> bool
[src]
&self,
other: &Range<T>,
epsilon: <Range<T> as AbsDiffEq<Range<T>>>::Epsilon,
max_relative: <Range<T> as AbsDiffEq<Range<T>>>::Epsilon
) -> bool
fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<T> StructuralPartialEq for Range<T> where
T: Float,
[src]
T: Float,
impl<T> UlpsEq<Range<T>> for Range<T> where
T: UlpsEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: UlpsEq<T> + Float,
<T as AbsDiffEq<T>>::Epsilon: Copy,
Auto Trait Implementations
impl<T> RefUnwindSafe for Range<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Range<T> where
T: Send,
T: Send,
impl<T> Sync for Range<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Range<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Range<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
fn convert_into(self) -> U
[src]
fn convert_unclamped_into(self) -> U
[src]
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,