pub struct SelectorState {
pub tag: String,
pub classes: Option<Vec<String>>,
pub id: Option<String>,
pub attributes: Option<Vec<String>>,
}
Expand description
The extracted data from the given `Selector.
Fields§
§tag: String
§classes: Option<Vec<String>>
§id: Option<String>
§attributes: Option<Vec<String>>
Implementations§
Trait Implementations§
Source§impl Clone for SelectorState
impl Clone for SelectorState
Source§fn clone(&self) -> SelectorState
fn clone(&self) -> SelectorState
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 moreAuto Trait Implementations§
impl Freeze for SelectorState
impl RefUnwindSafe for SelectorState
impl Send for SelectorState
impl Sync for SelectorState
impl Unpin for SelectorState
impl UnwindSafe for SelectorState
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