Struct pest_css_parser::SimpleSelector
source · pub struct SimpleSelector {
pub id: Option<String>,
pub class: Vec<String>,
pub tag_name: Option<String>,
}Fields§
§id: Option<String>§class: Vec<String>§tag_name: Option<String>Trait Implementations§
source§impl Clone for SimpleSelector
impl Clone for SimpleSelector
source§fn clone(&self) -> SimpleSelector
fn clone(&self) -> SimpleSelector
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 SimpleSelector
impl Debug for SimpleSelector
source§impl Default for SimpleSelector
impl Default for SimpleSelector
source§fn default() -> SimpleSelector
fn default() -> SimpleSelector
Returns the “default value” for a type. Read more
source§impl PartialEq<SimpleSelector> for SimpleSelector
impl PartialEq<SimpleSelector> for SimpleSelector
source§fn eq(&self, other: &SimpleSelector) -> bool
fn eq(&self, other: &SimpleSelector) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SimpleSelector
Auto Trait Implementations§
impl RefUnwindSafe for SimpleSelector
impl Send for SimpleSelector
impl Sync for SimpleSelector
impl Unpin for SimpleSelector
impl UnwindSafe for SimpleSelector
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