[−][src]Trait prisma::channel::cast::ChannelFormatCast
Convert between channel formats
Required methods
fn cast(self) -> Out
Cast the channel scalar type
Provided methods
fn cast_with_rescale(self, _: f64, _: f64) -> Out
Cast the channel scalar type, optionally rescaling the range
Implementations on Foreign Types
impl ChannelFormatCast<u8> for u8
[src]
impl ChannelFormatCast<u16> for u8
[src]
impl ChannelFormatCast<u32> for u8
[src]
impl ChannelFormatCast<u64> for u8
[src]
impl ChannelFormatCast<f32> for u8
[src]
fn cast(self) -> f32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f64> for u8
[src]
fn cast(self) -> f64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u8> for u16
[src]
impl ChannelFormatCast<u16> for u16
[src]
impl ChannelFormatCast<u32> for u16
[src]
impl ChannelFormatCast<u64> for u16
[src]
impl ChannelFormatCast<f32> for u16
[src]
fn cast(self) -> f32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f64> for u16
[src]
fn cast(self) -> f64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u8> for u32
[src]
impl ChannelFormatCast<u16> for u32
[src]
impl ChannelFormatCast<u32> for u32
[src]
impl ChannelFormatCast<u64> for u32
[src]
impl ChannelFormatCast<f32> for u32
[src]
fn cast(self) -> f32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f64> for u32
[src]
fn cast(self) -> f64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u8> for u64
[src]
impl ChannelFormatCast<u16> for u64
[src]
impl ChannelFormatCast<u32> for u64
[src]
impl ChannelFormatCast<u64> for u64
[src]
impl ChannelFormatCast<f32> for u64
[src]
fn cast(self) -> f32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f64> for u64
[src]
fn cast(self) -> f64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> f64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u8> for f32
[src]
fn cast(self) -> u8
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u8
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u16> for f32
[src]
fn cast(self) -> u16
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u16
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u32> for f32
[src]
fn cast(self) -> u32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u64> for f32
[src]
fn cast(self) -> u64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f32> for f32
[src]
impl ChannelFormatCast<f64> for f32
[src]
impl ChannelFormatCast<u8> for f64
[src]
fn cast(self) -> u8
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u8
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u16> for f64
[src]
fn cast(self) -> u16
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u16
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u32> for f64
[src]
fn cast(self) -> u32
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u32
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<u64> for f64
[src]
fn cast(self) -> u64
[src]
fn cast_with_rescale(self, min: f64, max: f64) -> u64
[src]
Cast the channel scalar, optionally rescaling the range
impl ChannelFormatCast<f32> for f64
[src]
impl ChannelFormatCast<f64> for f64
[src]
impl<T, A, U> ChannelFormatCast<A> for Deg<T> where
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
[src]
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
impl<T, A, U> ChannelFormatCast<A> for Rad<T> where
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
[src]
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
impl<T, A, U> ChannelFormatCast<A> for Turns<T> where
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
[src]
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
impl<T, A, U> ChannelFormatCast<A> for ArcMinutes<T> where
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
[src]
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
impl<T, A, U> ChannelFormatCast<A> for ArcSeconds<T> where
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,
[src]
Loading content...
A: Angle<Scalar = U>,
T: Float + ChannelFormatCast<U>,
U: Float,