[−][src]Struct antlr_rust::interval_set::IntervalSet
Fields
read_only: bool
Methods
impl IntervalSet
[src]
pub fn new() -> IntervalSet
[src]
pub fn get_min(&self) -> Option<isize>
[src]
pub fn add_one(&mut self, _v: isize)
[src]
pub fn add_range(&mut self, l: isize, h: isize)
[src]
pub fn add_interval(&mut self, added: Interval)
[src]
pub fn complement(&self, start: isize, stop: isize) -> IntervalSet
[src]
pub fn contains(&self, _item: isize) -> bool
[src]
pub fn remove_one(&mut self, el: isize)
[src]
pub fn to_token_string(&self, vocabulary: &dyn Vocabulary) -> String
[src]
Trait Implementations
impl Clone for IntervalSet
[src]
fn clone(&self) -> IntervalSet
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IntervalSet
[src]
impl Eq for IntervalSet
[src]
impl PartialEq<IntervalSet> for IntervalSet
[src]
fn eq(&self, other: &IntervalSet) -> bool
[src]
fn ne(&self, other: &IntervalSet) -> bool
[src]
impl StructuralEq for IntervalSet
[src]
impl StructuralPartialEq for IntervalSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for IntervalSet
impl Send for IntervalSet
impl Sync for IntervalSet
impl Unpin for IntervalSet
impl UnwindSafe for IntervalSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,