Struct selectors::builder::SpecificityAndFlags
source · pub struct SpecificityAndFlags {
pub(crate) specificity: u32,
pub(crate) flags: SelectorFlags,
}
Fields§
§specificity: u32
There are two free bits here, since we use ten bits for each specificity kind (id, class, element).
flags: SelectorFlags
There’s padding after this field due to the size of the flags.
Trait Implementations§
source§impl Clone for SpecificityAndFlags
impl Clone for SpecificityAndFlags
source§fn clone(&self) -> SpecificityAndFlags
fn clone(&self) -> SpecificityAndFlags
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 SpecificityAndFlags
impl Debug for SpecificityAndFlags
source§impl Default for SpecificityAndFlags
impl Default for SpecificityAndFlags
source§fn default() -> SpecificityAndFlags
fn default() -> SpecificityAndFlags
Returns the “default value” for a type. Read more
source§impl PartialEq for SpecificityAndFlags
impl PartialEq for SpecificityAndFlags
source§impl ToShmem for SpecificityAndFlags
impl ToShmem for SpecificityAndFlags
impl Copy for SpecificityAndFlags
impl Eq for SpecificityAndFlags
impl StructuralPartialEq for SpecificityAndFlags
Auto Trait Implementations§
impl Freeze for SpecificityAndFlags
impl RefUnwindSafe for SpecificityAndFlags
impl Send for SpecificityAndFlags
impl Sync for SpecificityAndFlags
impl Unpin for SpecificityAndFlags
impl UnwindSafe for SpecificityAndFlags
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
)