pub struct PaintRect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
}Expand description
Rect absoluto del nodo (en coordenadas físicas del frame). Lo
recibe el callback de View::paint_with para que pueda
posicionar sus primitivas custom dentro del nodo.
Fields§
§x: f32§y: f32§w: f32§h: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaintRect
impl RefUnwindSafe for PaintRect
impl Send for PaintRect
impl Sync for PaintRect
impl Unpin for PaintRect
impl UnsafeUnpin for PaintRect
impl UnwindSafe for PaintRect
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