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]
pub fn new(sel: SelectorList, line: usize, col: usize) -> Self[src]
Constructs a new SelectorDef.
Trait Implementations
impl Debug for SelectorDef[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for SelectorDef[src]
fn eq(&self, __arg_0: &SelectorDef) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SelectorDef) -> bool[src]
This method tests for !=.
impl Clone for SelectorDef[src]
fn clone(&self) -> SelectorDef[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more