#[repr(transparent)]pub struct Pixel<C, S, T>where
C: PixelRepr<S, T>,{
pub repr: <C as PixelRepr<S, T>>::Repr,
}
Expand description
One pixel
Fields§
§repr: <C as PixelRepr<S, T>>::Repr
Pixel representation.
Trait Implementations§
impl<C, S, T> Copy for Pixel<C, S, T>where
C: PixelRepr<S, T>,
Auto Trait Implementations§
impl<C, S, T> Freeze for Pixel<C, S, T>
impl<C, S, T> RefUnwindSafe for Pixel<C, S, T>
impl<C, S, T> Send for Pixel<C, S, T>
impl<C, S, T> Sync for Pixel<C, S, T>
impl<C, S, T> Unpin for Pixel<C, S, T>
impl<C, S, T> UnwindSafe for Pixel<C, S, T>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)