[−][src]Struct pix::Translucent
Methods
impl<C: Channel> Translucent<C>
[src]
Trait Implementations
impl<C: Channel> Alpha for Translucent<C>
[src]
type Chan = C
Channel
type
fn value(&self) -> C
[src]
Get the alpha Channel
value.
Channel::MIN is fully transparent, and Channel::MAX is fully opaque.
impl<C: Clone + Channel> Clone for Translucent<C>
[src]
fn clone(&self) -> Translucent<C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Copy + Channel> Copy for Translucent<C>
[src]
impl<C: Debug + Channel> Debug for Translucent<C>
[src]
impl<C: Default + Channel> Default for Translucent<C>
[src]
fn default() -> Translucent<C>
[src]
impl<C, H> From<H> for Translucent<C> where
C: Channel + From<H>,
H: Channel,
[src]
C: Channel + From<H>,
H: Channel,
impl<C, A> From<Opaque<A>> for Translucent<C> where
C: Channel,
A: Channel,
[src]
C: Channel,
A: Channel,
impl<C, A> From<Translucent<A>> for Opaque<C> where
C: Channel,
A: Channel,
[src]
C: Channel,
A: Channel,
fn from(_: Translucent<A>) -> Self
[src]
Convert from a Translucent
value.
impl From<f32> for Translucent<Ch32>
[src]
impl From<u16> for Translucent<Ch16>
[src]
impl From<u8> for Translucent<Ch8>
[src]
impl<C: Channel> Mul<Translucent<C>> for Translucent<C>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl<C: PartialEq + Channel> PartialEq<Translucent<C>> for Translucent<C>
[src]
fn eq(&self, other: &Translucent<C>) -> bool
[src]
fn ne(&self, other: &Translucent<C>) -> bool
[src]
impl<C: Channel> StructuralPartialEq for Translucent<C>
[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for Translucent<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for Translucent<C> where
C: Send,
C: Send,
impl<C> Sync for Translucent<C> where
C: Sync,
C: Sync,
impl<C> Unpin for Translucent<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for Translucent<C> where
C: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
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> From<!> for T
[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> 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>,