pub struct ColorI32 {
pub r: i32,
pub g: i32,
pub b: i32,
}Expand description
RGB; each channel is 32 bit signed
Fields§
§r: i32§g: i32§b: i32Implementations§
Trait Implementations§
impl Copy for ColorI32
impl Eq for ColorI32
impl StructuralPartialEq for ColorI32
Auto Trait Implementations§
impl Freeze for ColorI32
impl RefUnwindSafe for ColorI32
impl Send for ColorI32
impl Sync for ColorI32
impl Unpin for ColorI32
impl UnwindSafe for ColorI32
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more