[−][src]Struct antlr_rust::rule_context::EmptyContextType
Trait Implementations
impl<'a, TF: TokenFactory<'a>> ParserNodeType<'a> for EmptyContextType<'a, TF>
[src]
type TF = TF
type Type = dyn ParserRuleContext<'a, TF = Self::TF, Ctx = Self> + 'a
type Visitor = dyn ParseTreeVisitor<'a, Self> + 'a
impl<'a, TF: TokenFactory<'a>> TidAble<'a> for EmptyContextType<'a, TF> where
TF: TidAble<'a>,
[src]
TF: TidAble<'a>,
Auto Trait Implementations
impl<'a, TF> RefUnwindSafe for EmptyContextType<'a, TF> where
TF: RefUnwindSafe,
TF: RefUnwindSafe,
impl<'a, TF> Send for EmptyContextType<'a, TF> where
TF: Sync,
TF: Sync,
impl<'a, TF> Sync for EmptyContextType<'a, TF> where
TF: Sync,
TF: Sync,
impl<'a, TF> Unpin for EmptyContextType<'a, TF>
impl<'a, TF> UnwindSafe for EmptyContextType<'a, TF> where
TF: RefUnwindSafe,
TF: RefUnwindSafe,
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,
pub 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> NodeText for T
[src]
impl<'input, T> NodeText for T where
T: CustomRuleContext<'input>,
[src]
T: CustomRuleContext<'input>,
impl<'a, T> Tid<'a> for T where
T: TidAble<'a> + ?Sized,
[src]
T: TidAble<'a> + ?Sized,
impl<'a, X> TidExt<'a> for X where
X: Tid<'a> + ?Sized,
[src]
X: Tid<'a> + ?Sized,
pub fn is<T>(&self) -> bool where
T: Tid<'a>,
[src]
T: Tid<'a>,
pub fn downcast_ref<T>(&'b self) -> Option<&'b T> where
T: Tid<'a>,
[src]
T: Tid<'a>,
pub fn downcast_mut<T>(&'b mut self) -> Option<&'b mut T> where
T: Tid<'a>,
[src]
T: Tid<'a>,
pub fn downcast_rc<T>(self: Rc<X>) -> Result<Rc<T>, Rc<X>> where
T: Tid<'a>,
[src]
T: Tid<'a>,
pub fn downcast_arc<T>(self: Arc<X>) -> Result<Arc<T>, Arc<X>> where
T: Tid<'a>,
[src]
T: Tid<'a>,
pub fn downcast_box<T>(self: Box<X>) -> Result<Box<T>, Box<X>> where
T: Tid<'a>,
[src]
T: Tid<'a>,
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.
pub 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>,