MatchSize

Trait MatchSize 

Source
pub trait MatchSize {
    // Required method
    fn size(&self) -> usize;
}
Expand description

Size of the matchable object.

Required Methods§

Source

fn size(&self) -> usize

Returns the size of the matchable object.

Implementors§

Source§

impl MatchSize for Token

Source§

impl MatchSize for TokenNumber

Implement the MatchSize trait for the token number.