#[repr(C)]pub struct CascadeInfo {
pub index_in_parent: u32,
pub is_last_child: bool,
}Expand description
Has all the necessary information about the style CSS path
Fields§
§index_in_parent: u32§is_last_child: boolTrait Implementations§
Source§impl Clone for CascadeInfo
impl Clone for CascadeInfo
Source§fn clone(&self) -> CascadeInfo
fn clone(&self) -> CascadeInfo
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 CascadeInfo
impl Debug for CascadeInfo
Source§impl Default for CascadeInfo
impl Default for CascadeInfo
Source§fn default() -> CascadeInfo
fn default() -> CascadeInfo
Returns the “default value” for a type. Read more
Source§impl Extend<CascadeInfo> for CascadeInfoVec
impl Extend<CascadeInfo> for CascadeInfoVec
Source§fn extend<T: IntoIterator<Item = CascadeInfo>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = CascadeInfo>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<CascadeInfo> for CascadeInfoVec
impl FromIterator<CascadeInfo> for CascadeInfoVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = CascadeInfo>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = CascadeInfo>,
Creates a value from an iterator. Read more
Source§impl Hash for CascadeInfo
impl Hash for CascadeInfo
Source§impl Ord for CascadeInfo
impl Ord for CascadeInfo
Source§fn cmp(&self, other: &CascadeInfo) -> Ordering
fn cmp(&self, other: &CascadeInfo) -> 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 CascadeInfo
impl PartialEq for CascadeInfo
Source§impl PartialOrd for CascadeInfo
impl PartialOrd for CascadeInfo
impl Copy for CascadeInfo
impl Eq for CascadeInfo
impl StructuralPartialEq for CascadeInfo
Auto Trait Implementations§
impl Freeze for CascadeInfo
impl RefUnwindSafe for CascadeInfo
impl Send for CascadeInfo
impl Sync for CascadeInfo
impl Unpin for CascadeInfo
impl UnwindSafe for CascadeInfo
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more