Struct debris_parser::ast::Branch
source · pub struct Branch(AstNode);
Tuple Fields§
§0: AstNode
Implementations§
source§impl Branch
impl Branch
pub fn comptime_token(&self) -> Option<Token>
pub fn condition(&self) -> Expression
pub fn block(&self) -> Block
pub fn else_branch(&self) -> Option<BranchElse>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Branch
impl !Send for Branch
impl !Sync for Branch
impl Unpin for Branch
impl UnwindSafe for Branch
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