Struct qmetaobject::QBrush
source · #[repr(C)]pub struct QBrush { /* private fields */ }
Expand description
Wrapper around QBrush
class.
Implementations§
source§impl QBrush
impl QBrush
pub fn from_color(color: QColor) -> QBrush
pub fn from_style(style: BrushStyle) -> QBrush
pub fn set_color(&mut self, color: QColor)
pub fn set_style(&mut self, style: BrushStyle)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for QBrush
impl Send for QBrush
impl Sync for QBrush
impl Unpin for QBrush
impl UnwindSafe for QBrush
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