#[repr(C)]pub struct Break {
pub args: Vec<Node>,
pub keyword_l: Loc,
pub expression_l: Loc,
}Expand description
Represents a break keyword (with optional argument)
Fields§
§args: Vec<Node>A list of arguments
keyword_l: LocLocation of the break keyword
break :foo
~~~~~expression_l: LocLocation of the full expression
break(:foo)
~~~~~~~~~~~Trait Implementations§
impl StructuralPartialEq for Break
Auto Trait Implementations§
impl Freeze for Break
impl RefUnwindSafe for Break
impl Send for Break
impl Sync for Break
impl Unpin for Break
impl UnwindSafe for Break
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