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