pub enum Brush {
Color(COLOR),
Handle(HBRUSH),
None,
}
Available on crate feature
gui
only.Expand description
The class background brush to be loaded for
WindowMainOpts
,
WindowModalOpts
or
WindowControlOpts
.
Variants§
Color(COLOR)
A solid system color.
Handle(HBRUSH)
A brush handle, previously created by you.
None
No brush.
Implementations§
Auto Trait Implementations§
impl Freeze for Brush
impl RefUnwindSafe for Brush
impl Send for Brush
impl !Sync for Brush
impl Unpin for Brush
impl UnwindSafe for Brush
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