pub struct Picked {
pub node: String,
pub op: String,
pub part: String,
pub bounds: [f32; 4],
}Expand description
An element under a point of the frame (Renderer::pick).
Fields§
§node: StringThe document node it belongs to (edit this one).
op: String§part: StringThe node that drew it (inside a component or block: node/...).
bounds: [f32; 4]Frame px [x0, y0, x1, y1].
Trait Implementations§
Auto Trait Implementations§
impl Forget for Picked
impl Freeze for Picked
impl Move for Picked
impl RefUnwindSafe for Picked
impl Send for Picked
impl Sync for Picked
impl Unpin for Picked
impl UnsafeUnpin for Picked
impl UnwindSafe for Picked
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