Struct tree_sitter_graph::ast::If
source · [−]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 StructuralEq for If
impl StructuralPartialEq for If
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more