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 SelectorDefpub fn new(sel: SelectorList, line: usize, col: usize) -> Self[src]
pub fn new(sel: SelectorList, line: usize, col: usize) -> SelfConstructs a new SelectorDef.
Trait Implementations
impl Debug for SelectorDef[src]
impl Debug for SelectorDeffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SelectorDef[src]
impl PartialEq for SelectorDeffn eq(&self, other: &SelectorDef) -> bool[src]
fn eq(&self, other: &SelectorDef) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for SelectorDef[src]
impl Clone for SelectorDeffn clone(&self) -> SelectorDef[src]
fn clone(&self) -> SelectorDefReturns 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 SelectorDefimpl Sync for SelectorDef
impl Sync for SelectorDef