Struct unflow::grammar::designparser::Style_declContextExt [−][src]
pub struct Style_declContextExt<'input> { /* fields omitted */ }
Trait Implementations
impl<'input> Clone for Style_declContextExt<'input>
[src]
impl<'input> Clone for Style_declContextExt<'input>
[src]fn clone(&self) -> Style_declContextExt<'input>
[src]
fn clone(&self) -> Style_declContextExt<'input>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'input> CustomRuleContext<'input> for Style_declContextExt<'input>
[src]
impl<'input> CustomRuleContext<'input> for Style_declContextExt<'input>
[src]type TF = LocalTokenFactory<'input>
type Ctx = DesignParserContextType
type Ctx = DesignParserContextType
Type that describes type of context nodes, stored in this context
fn get_rule_index(&self) -> usize
[src]
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 Style_declContextExt<'a>
[src]
impl<'a> TidAble<'a> for Style_declContextExt<'a>
[src]type Static = Style_declContextExt<'static>
Auto Trait Implementations
impl<'input> RefUnwindSafe for Style_declContextExt<'input>
impl<'input> Send for Style_declContextExt<'input>
impl<'input> Sync for Style_declContextExt<'input>
impl<'input> Unpin for Style_declContextExt<'input>
impl<'input> UnwindSafe for Style_declContextExt<'input>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<'input, T> NodeText for T where
T: CustomRuleContext<'input>,
[src]
impl<'input, T> NodeText for T where
T: CustomRuleContext<'input>,
[src]impl<'a, T> Tid<'a> for T where
T: TidAble<'a> + ?Sized,
impl<'a, T> Tid<'a> for T where
T: TidAble<'a> + ?Sized,
impl<'a, X> TidExt<'a> for X where
X: Tid<'a> + ?Sized,
impl<'a, X> TidExt<'a> for X where
X: Tid<'a> + ?Sized,
pub fn is<T>(&self) -> bool where
T: Tid<'a>,
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>,
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>,
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>,
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>,
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
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
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]
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