Struct convert_image::RGB888
source · pub struct RGB888 {
pub R: u8,
pub G: u8,
pub B: u8,
}Fields§
§R: u8§G: u8§B: u8Trait Implementations§
source§impl PartialEq for RGB888
impl PartialEq for RGB888
impl Eq for RGB888
impl StructuralPartialEq for RGB888
Auto Trait Implementations§
impl Freeze for RGB888
impl RefUnwindSafe for RGB888
impl Send for RGB888
impl Sync for RGB888
impl Unpin for RGB888
impl UnwindSafe for RGB888
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> 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