pub struct Print<'a> {
pub range: &'a str,
pub keyword: PrintToken<'a>,
pub lparen: LeftParensToken<'a>,
pub string: String_<'a>,
pub rparen: RightParensToken<'a>,
}
Fields§
§range: &'a str
§keyword: PrintToken<'a>
§lparen: LeftParensToken<'a>
§string: String_<'a>
§rparen: RightParensToken<'a>
Implementations§
Source§impl<'a> Print<'a>
impl<'a> Print<'a>
pub fn new( keyword: PrintToken<'a>, lparen: LeftParensToken<'a>, string: String_<'a>, rparen: RightParensToken<'a>, ) -> Print<'a>
Trait Implementations§
Source§impl<'a> Graph<'a> for Print<'a>
impl<'a> Graph<'a> for Print<'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> StatementAlt<'a> for Print<'a>
Auto Trait Implementations§
impl<'a> Freeze for Print<'a>
impl<'a> !RefUnwindSafe for Print<'a>
impl<'a> !Send for Print<'a>
impl<'a> !Sync for Print<'a>
impl<'a> Unpin for Print<'a>
impl<'a> !UnwindSafe for Print<'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