Struct unflow::grammar::designparser::Goto_actionContextExt[][src]

pub struct Goto_actionContextExt<'input> { /* fields omitted */ }

Trait Implementations

impl<'input> Clone for Goto_actionContextExt<'input>[src]

fn clone(&self) -> Goto_actionContextExt<'input>[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<'input> CustomRuleContext<'input> for Goto_actionContextExt<'input>[src]

type TF = LocalTokenFactory<'input>

type Ctx = DesignParserContextType

Type that describes type of context nodes, stored in this context

fn get_rule_index(&self) -> usize[src]

Rule index that corresponds to this context type

fn get_alt_number(&self) -> isize[src]

fn set_alt_number(&self, _alt_number: isize)[src]

impl<'a> TidAble<'a> for Goto_actionContextExt<'a>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for Goto_actionContextExt<'input>

impl<'input> Send for Goto_actionContextExt<'input>

impl<'input> Sync for Goto_actionContextExt<'input>

impl<'input> Unpin for Goto_actionContextExt<'input>

impl<'input> UnwindSafe for Goto_actionContextExt<'input>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<'input, T> NodeText for T where
    T: CustomRuleContext<'input>, 
[src]

pub default fn get_node_text(&self, rule_names: &[&str]) -> String[src]

Returns text representation of current node type, rule name for context nodes and token text for terminal nodes Read more

impl<T> NodeText for T[src]

pub default fn get_node_text(&self, _rule_names: &[&str]) -> String[src]

Returns text representation of current node type, rule name for context nodes and token text for terminal nodes Read more

impl<'a, T> Tid<'a> for T where
    T: TidAble<'a> + ?Sized

pub fn self_id(&self) -> TypeId

Returns type id of the type of self Read more

pub fn id() -> TypeId

Returns type id of this type

impl<'a, X> TidExt<'a> for X where
    X: Tid<'a> + ?Sized

pub fn is<T>(&self) -> bool where
    T: Tid<'a>, 

Returns true if type behind self is equal to the type of T.

pub fn downcast_ref<T>(&'b self) -> Option<&'b T> where
    T: Tid<'a>, 

Attempts to downcast self to T behind reference

pub fn downcast_mut<T>(&'b mut self) -> Option<&'b mut T> where
    T: Tid<'a>, 

Attempts to downcast self to T behind mutable reference

pub fn downcast_rc<T>(self: Rc<X>) -> Result<Rc<T>, Rc<X>> where
    T: Tid<'a>, 

Attempts to downcast self to T behind Rc pointer

pub fn downcast_arc<T>(self: Arc<X>) -> Result<Arc<T>, Arc<X>> where
    T: Tid<'a>, 

Attempts to downcast self to T behind Arc pointer

pub fn downcast_box<T>(
    self: Box<X, Global>
) -> Result<Box<T, Global>, Box<X, Global>> where
    T: Tid<'a>, 

Attempts to downcast self to T behind Box pointer

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.