pub struct ColorConfig {
pub pixel_format: PixelFormat,
pub alpha_mode: AlphaMode,
}Expand description
Color Configuration
Fields§
§pixel_format: PixelFormatPixel format
alpha_mode: AlphaModeAlpha mode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorConfig
impl RefUnwindSafe for ColorConfig
impl Send for ColorConfig
impl Sync for ColorConfig
impl Unpin for ColorConfig
impl UnwindSafe for ColorConfig
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