pub struct HoverGroup {
pub affects_layout: bool,
pub active_or_hover: ActiveHover,
}
Expand description
In order to support :hover, the element must have a TagId, otherwise it will be disregarded in the hit-testing. A hover group
Fields§
§affects_layout: bool
Whether any property in the hover group will trigger a re-layout. This is important for creating
active_or_hover: ActiveHover
Whether this path ends with :active
or with :hover
Trait Implementations§
Source§impl Clone for HoverGroup
impl Clone for HoverGroup
Source§fn clone(&self) -> HoverGroup
fn clone(&self) -> HoverGroup
Returns a copy 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 HoverGroup
impl Debug for HoverGroup
Source§impl Ord for HoverGroup
impl Ord for HoverGroup
Source§fn cmp(&self, other: &HoverGroup) -> Ordering
fn cmp(&self, other: &HoverGroup) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HoverGroup
impl PartialEq for HoverGroup
Source§impl PartialOrd for HoverGroup
impl PartialOrd for HoverGroup
impl Copy for HoverGroup
impl Eq for HoverGroup
impl StructuralPartialEq for HoverGroup
Auto Trait Implementations§
impl Freeze for HoverGroup
impl RefUnwindSafe for HoverGroup
impl Send for HoverGroup
impl Sync for HoverGroup
impl Unpin for HoverGroup
impl UnwindSafe for HoverGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)