pub struct HoverRegionProps {
pub layout: LayoutStyle,
}Expand description
A hover tracking region primitive.
This is a small substrate building block: it provides a hovered: bool signal to component
code (via ElementCx::hover_region(...)) without imposing click/focus semantics.
Fields§
§layout: LayoutStyleTrait Implementations§
Source§impl Clone for HoverRegionProps
impl Clone for HoverRegionProps
Source§fn clone(&self) -> HoverRegionProps
fn clone(&self) -> HoverRegionProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HoverRegionProps
impl Debug for HoverRegionProps
Source§impl Default for HoverRegionProps
impl Default for HoverRegionProps
Source§fn default() -> HoverRegionProps
fn default() -> HoverRegionProps
Returns the “default value” for a type. Read more
impl Copy for HoverRegionProps
Auto Trait Implementations§
impl Freeze for HoverRegionProps
impl RefUnwindSafe for HoverRegionProps
impl Send for HoverRegionProps
impl Sync for HoverRegionProps
impl Unpin for HoverRegionProps
impl UnsafeUnpin for HoverRegionProps
impl UnwindSafe for HoverRegionProps
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