pub struct Rgba<S: Sample> {
pub r: S,
pub g: S,
pub b: S,
pub a: S,
}Expand description
An RGBA pixel with four components.
Fields§
§r: S§g: S§b: S§a: SImplementations§
Trait Implementations§
impl<S: Copy + Sample> Copy for Rgba<S>
impl<S: Sample> StructuralPartialEq for Rgba<S>
Auto Trait Implementations§
impl<S> Freeze for Rgba<S>where
S: Freeze,
impl<S> RefUnwindSafe for Rgba<S>where
S: RefUnwindSafe,
impl<S> Send for Rgba<S>
impl<S> Sync for Rgba<S>
impl<S> Unpin for Rgba<S>where
S: Unpin,
impl<S> UnsafeUnpin for Rgba<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Rgba<S>where
S: UnwindSafe,
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