pub struct PaintCx<'a> {
pub style: &'a ComputedStyle,
pub state: ElementState,
}Expand description
What a widget can see while painting.
Fields§
§style: &'a ComputedStyle§state: ElementStateAuto Trait Implementations§
impl<'a> Freeze for PaintCx<'a>
impl<'a> RefUnwindSafe for PaintCx<'a>
impl<'a> Send for PaintCx<'a>
impl<'a> Sync for PaintCx<'a>
impl<'a> Unpin for PaintCx<'a>
impl<'a> UnsafeUnpin for PaintCx<'a>
impl<'a> UnwindSafe for PaintCx<'a>
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