Enum erl_parse::cst::types::parts::BitsSpec
[−]
[src]
pub enum BitsSpec { BytesAndBits(ByteAndBitSize), Bytes(ByteSize), Bits(BitSize), }
ByteAndBitSize
| ByteSize
| BitSize
Variants
BytesAndBits(ByteAndBitSize)
Bytes(ByteSize)
Bits(BitSize)
Trait Implementations
impl Debug for BitsSpec
[src]
impl Clone for BitsSpec
[src]
fn clone(&self) -> BitsSpec
[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 BitsSpec
[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 BitsSpec
[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.