pub struct RangedCoordi64(/* private fields */);Expand description
The ranged coordinate for type i64
Trait Implementations§
Source§impl Clone for RangedCoordi64
impl Clone for RangedCoordi64
Source§fn clone(&self) -> RangedCoordi64
fn clone(&self) -> RangedCoordi64
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 DiscreteRanged for RangedCoordi64
impl DiscreteRanged for RangedCoordi64
type RangeParameter = ()
fn get_range_parameter(&self)
Auto Trait Implementations§
impl Freeze for RangedCoordi64
impl RefUnwindSafe for RangedCoordi64
impl Send for RangedCoordi64
impl Sync for RangedCoordi64
impl Unpin for RangedCoordi64
impl UnwindSafe for RangedCoordi64
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default
Source§impl<T> AsRangedCoord for T
impl<T> AsRangedCoord for T
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, U> ConvertInto<U> for Twhere
U: ConvertFrom<T>,
impl<T, U> ConvertInto<U> for Twhere
U: ConvertFrom<T>,
Source§fn convert_into(self) -> U
fn convert_into(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§fn convert_unclamped_into(self) -> U
fn convert_unclamped_into(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined range,
otherwise an
OutOfBounds error is returned which contains the unclamped color. Read moreSource§impl<T> IntoCentric for Twhere
T: AsRangedCoord,
<T as AsRangedCoord>::CoordDescType: DiscreteRanged,
<<T as AsRangedCoord>::CoordDescType as Ranged>::ValueType: Eq,
impl<T> IntoCentric for Twhere
T: AsRangedCoord,
<T as AsRangedCoord>::CoordDescType: DiscreteRanged,
<<T as AsRangedCoord>::CoordDescType as Ranged>::ValueType: Eq,
Source§fn into_centric(self) -> CentricDiscreteRange<Self::CoordDescType>
fn into_centric(self) -> CentricDiscreteRange<Self::CoordDescType>
Convert current ranged value into a centric ranged value
Source§impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
Source§fn partial_axis(
self,
axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>,
) -> PartialAxis<Self::CoordDescType>
fn partial_axis( self, axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>, ) -> PartialAxis<Self::CoordDescType>
Make the partial axis Read more
Source§impl<T> SetParameter for T
impl<T> SetParameter for T
Source§impl<T> ToGroupByRange for Twhere
T: AsRangedCoord,
<T as AsRangedCoord>::Value: PrimInt + FromPrimitive + ToPrimitive + Mul,
<<T as AsRangedCoord>::CoordDescType as Ranged>::ValueType: PrimInt + FromPrimitive + ToPrimitive + Mul,
impl<T> ToGroupByRange for Twhere
T: AsRangedCoord,
<T as AsRangedCoord>::Value: PrimInt + FromPrimitive + ToPrimitive + Mul,
<<T as AsRangedCoord>::CoordDescType as Ranged>::ValueType: PrimInt + FromPrimitive + ToPrimitive + Mul,
Source§fn group_by(
self,
value: <<Self as AsRangedCoord>::CoordDescType as Ranged>::ValueType,
) -> GroupBy<<Self as AsRangedCoord>::CoordDescType>
fn group_by( self, value: <<Self as AsRangedCoord>::CoordDescType as Ranged>::ValueType, ) -> GroupBy<<Self as AsRangedCoord>::CoordDescType>
Make a grouping ranged value, see the documentation for
GroupBy for details. Read more