pub struct RGBA<T: InnerType>(/* private fields */);Expand description
This struct represents a RGBA color
Implementations§
Source§impl<T: InnerType> RGBA<T>
impl<T: InnerType> RGBA<T>
Trait Implementations§
impl<T: Copy + InnerType> Copy for RGBA<T>
impl<T: Eq + InnerType> Eq for RGBA<T>
Source§impl<T: Ord + InnerType> Ord for RGBA<T>
impl<T: Ord + InnerType> Ord for RGBA<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd + InnerType> PartialOrd for RGBA<T>
impl<T: PartialOrd + InnerType> PartialOrd for RGBA<T>
impl<T: PartialEq + InnerType> StructuralPartialEq for RGBA<T>
Auto Trait Implementations§
impl<T> Freeze for RGBA<T>where
T: Freeze,
impl<T> RefUnwindSafe for RGBA<T>where
T: RefUnwindSafe,
impl<T> Send for RGBA<T>where
T: Send,
impl<T> Sync for RGBA<T>where
T: Sync,
impl<T> Unpin for RGBA<T>where
T: Unpin,
impl<T> UnsafeUnpin for RGBA<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RGBA<T>where
T: 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