pub enum ImageMode {
Rgba,
GrayScale,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ImageMode
impl Send for ImageMode
impl Sync for ImageMode
impl Unpin for ImageMode
impl UnwindSafe for ImageMode
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> Colorable for T
impl<T> Colorable for T
source§fn bg<TFormatColor>(
self,
formatter: TFormatColor
) -> WithBackground<Self, TFormatColor>where
TFormatColor: FormatColor,
fn bg<TFormatColor>( self, formatter: TFormatColor ) -> WithBackground<Self, TFormatColor>where TFormatColor: FormatColor,
Add a background color
source§fn fg<TFormatColor>(
self,
formatter: TFormatColor
) -> WithForeground<Self, TFormatColor>where
TFormatColor: FormatColor,
fn fg<TFormatColor>( self, formatter: TFormatColor ) -> WithForeground<Self, TFormatColor>where TFormatColor: FormatColor,
Add a foreground color