pub struct HtmlCascadeInfo {
pub index_in_parent: usize,
pub is_last_child: bool,
pub is_hovered_over: bool,
pub is_focused: bool,
pub is_active: bool,
}
Expand description
Has all the necessary information about the style CSS path
Fields§
§index_in_parent: usize
§is_last_child: bool
§is_hovered_over: bool
§is_focused: bool
§is_active: bool
Trait Implementations§
Source§impl Clone for HtmlCascadeInfo
impl Clone for HtmlCascadeInfo
Source§fn clone(&self) -> HtmlCascadeInfo
fn clone(&self) -> HtmlCascadeInfo
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 HtmlCascadeInfo
impl Debug for HtmlCascadeInfo
Source§impl Hash for HtmlCascadeInfo
impl Hash for HtmlCascadeInfo
Source§impl Ord for HtmlCascadeInfo
impl Ord for HtmlCascadeInfo
Source§fn cmp(&self, other: &HtmlCascadeInfo) -> Ordering
fn cmp(&self, other: &HtmlCascadeInfo) -> 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 HtmlCascadeInfo
impl PartialEq for HtmlCascadeInfo
Source§impl PartialOrd for HtmlCascadeInfo
impl PartialOrd for HtmlCascadeInfo
impl Copy for HtmlCascadeInfo
impl Eq for HtmlCascadeInfo
impl StructuralPartialEq for HtmlCascadeInfo
Auto Trait Implementations§
impl Freeze for HtmlCascadeInfo
impl RefUnwindSafe for HtmlCascadeInfo
impl Send for HtmlCascadeInfo
impl Sync for HtmlCascadeInfo
impl Unpin for HtmlCascadeInfo
impl UnwindSafe for HtmlCascadeInfo
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
)