pub struct N<'a> {
pub range: &'a str,
pub keyword: NToken<'a>,
pub lparen: LeftParensToken<'a>,
pub num: Number<'a>,
pub rparen: RightParensToken<'a>,
}
Fields§
§range: &'a str
§keyword: NToken<'a>
§lparen: LeftParensToken<'a>
§num: Number<'a>
§rparen: RightParensToken<'a>
Implementations§
Source§impl<'a> N<'a>
impl<'a> N<'a>
pub fn new( keyword: NToken<'a>, lparen: LeftParensToken<'a>, num: Number<'a>, rparen: RightParensToken<'a>, ) -> N<'a>
Trait Implementations§
Source§impl<'a> Graph<'a> for N<'a>
impl<'a> Graph<'a> for N<'a>
Source§fn to_dot_recurse(&self) -> String
fn to_dot_recurse(&self) -> String
Generates arrows for each children and returns the concatenation of the
call to
to_dot
on them. Read moreimpl<'a> AbsNumAlt<'a> for N<'a>
Auto Trait Implementations§
impl<'a> Freeze for N<'a>
impl<'a> !RefUnwindSafe for N<'a>
impl<'a> !Send for N<'a>
impl<'a> !Sync for N<'a>
impl<'a> Unpin for N<'a>
impl<'a> !UnwindSafe for N<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more