pub struct NthSelectorData {
pub ty: NthType,
pub is_function: bool,
pub a: i32,
pub b: i32,
}
Expand description
The properties that comprise an :nth- pseudoclass as of Selectors 3 (e.g., nth-child(An+B)). https://www.w3.org/TR/selectors-3/#nth-child-pseudo
Fields§
§ty: NthType
§is_function: bool
§a: i32
§b: i32
Implementations§
Trait Implementations§
Source§impl Clone for NthSelectorData
impl Clone for NthSelectorData
Source§fn clone(&self) -> NthSelectorData
fn clone(&self) -> NthSelectorData
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 PartialEq for NthSelectorData
impl PartialEq for NthSelectorData
impl Copy for NthSelectorData
impl Eq for NthSelectorData
impl StructuralPartialEq for NthSelectorData
Auto Trait Implementations§
impl Freeze for NthSelectorData
impl RefUnwindSafe for NthSelectorData
impl Send for NthSelectorData
impl Sync for NthSelectorData
impl Unpin for NthSelectorData
impl UnwindSafe for NthSelectorData
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