Enum erl_parse::cst::commons::parts::BitsElemSpec
[−]
[src]
pub enum BitsElemSpec { Type(AtomToken), Unit { _unit: AtomToken, _colon: SymbolToken, unit: IntegerToken, }, }
AtomToken
| (unit
:
IntegerToken
)
Variants
Type(AtomToken)
Unit
Fields of Unit
_unit: AtomToken | |
_colon: SymbolToken | |
unit: IntegerToken |
Trait Implementations
impl Debug for BitsElemSpec
[src]
impl Clone for BitsElemSpec
[src]
fn clone(&self) -> BitsElemSpec
[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
impl Parse for BitsElemSpec
[src]
fn parse<T: TokenRead>(parser: &mut Parser<T>) -> Result<Self>
[src]
fn parse_non_left_recor<T>(parser: &mut Parser<T>) -> Result<Self> where
T: TokenRead,
[src]
T: TokenRead,
impl PositionRange for BitsElemSpec
[src]
fn start_position(&self) -> Position
[src]
Returns the (inclusive) start position of this.
fn end_position(&self) -> Position
[src]
Returns the (exclusive) end position of this.