Struct ucglib::ast::SelectorDef [−][src]
pub struct SelectorDef { pub pos: Position, pub sel: SelectorList, }
Encodes a selector expression in the UCG AST.
Fields
pos: Position
sel: SelectorList
Methods
impl SelectorDef
[src]
impl SelectorDef
pub fn new(sel: SelectorList, line: usize, col: usize) -> Self
[src]
pub fn new(sel: SelectorList, line: usize, col: usize) -> Self
Constructs a new SelectorDef.
Trait Implementations
impl Debug for SelectorDef
[src]
impl Debug for SelectorDef
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SelectorDef
[src]
impl PartialEq for SelectorDef
fn eq(&self, other: &SelectorDef) -> bool
[src]
fn eq(&self, other: &SelectorDef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SelectorDef) -> bool
[src]
fn ne(&self, other: &SelectorDef) -> bool
This method tests for !=
.
impl Clone for SelectorDef
[src]
impl Clone for SelectorDef
fn clone(&self) -> SelectorDef
[src]
fn clone(&self) -> SelectorDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SelectorDef
impl Send for SelectorDef
impl Sync for SelectorDef
impl Sync for SelectorDef