Struct tree_sitter_graph::ast::If
source · pub struct If {
pub arms: Vec<IfArm>,
pub location: Location,
}
Expand description
A cond
conditional statement that selects the first branch with a matching condition
Fields§
§arms: Vec<IfArm>
§location: Location
Trait Implementations§
impl Eq for If
impl StructuralPartialEq for If
Auto Trait Implementations§
impl Freeze for If
impl RefUnwindSafe for If
impl Send for If
impl Sync for If
impl Unpin for If
impl UnwindSafe for If
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