pub struct SearchGeometry {
pub submit: Rect,
pub entry: Rect,
pub clear: Rect,
}Fields§
§submit: Rect§entry: Rect§clear: RectImplementations§
Source§impl SearchGeometry
impl SearchGeometry
pub fn new(bounds: Rect) -> Self
pub fn for_layout(layout: &LayoutNode) -> Self
pub fn with_layout_direction(bounds: Rect, direction: LayoutDirection) -> Self
pub fn actions( &self, node: &Node, ) -> impl Iterator<Item = (Rect, ControlAction)>
pub fn action_at(&self, node: &Node, point: Point) -> Option<ControlAction>
Auto Trait Implementations§
impl Forget for SearchGeometry
impl Freeze for SearchGeometry
impl Move for SearchGeometry
impl RefUnwindSafe for SearchGeometry
impl Send for SearchGeometry
impl Sync for SearchGeometry
impl Unpin for SearchGeometry
impl UnsafeUnpin for SearchGeometry
impl UnwindSafe for SearchGeometry
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