Struct colorutils_rs::Rgba1010102
source · pub struct Rgba1010102 {
pub rgba: u32,
}Expand description
Represents RGBA 1010102 in one u32 store
Fields§
§rgba: u32Implementations§
source§impl Rgba1010102
impl Rgba1010102
pub fn new(color: u32) -> Rgba1010102
Trait Implementations§
source§impl Clone for Rgba1010102
impl Clone for Rgba1010102
source§fn clone(&self) -> Rgba1010102
fn clone(&self) -> Rgba1010102
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Ord for Rgba1010102
impl Ord for Rgba1010102
source§fn cmp(&self, other: &Rgba1010102) -> Ordering
fn cmp(&self, other: &Rgba1010102) -> Ordering
1.21.0 · 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 PartialEq for Rgba1010102
impl PartialEq for Rgba1010102
source§impl PartialOrd for Rgba1010102
impl PartialOrd for Rgba1010102
source§impl ToRgbaF16 for Rgba1010102
impl ToRgbaF16 for Rgba1010102
fn to_rgba_f16(&self) -> Rgba<f16>
impl Copy for Rgba1010102
impl Eq for Rgba1010102
impl StructuralPartialEq for Rgba1010102
Auto Trait Implementations§
impl Freeze for Rgba1010102
impl RefUnwindSafe for Rgba1010102
impl Send for Rgba1010102
impl Sync for Rgba1010102
impl Unpin for Rgba1010102
impl UnwindSafe for Rgba1010102
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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)