pub struct Try {
pub _try: KeywordToken,
pub body: Body,
pub branch: Option<TryOf>,
pub catch: Option<TryCatch>,
pub after: Option<TryAfter>,
pub _end: KeywordToken,
}Expand description
try Body Option<TryOf> Option<TryCatch> Option<TryAfter> end
Fields§
§_try: KeywordToken§body: Body§branch: Option<TryOf>§catch: Option<TryCatch>§after: Option<TryAfter>§_end: KeywordTokenTrait Implementations§
Source§impl PositionRange for Try
impl PositionRange for Try
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the (inclusive) start position of this.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the (exclusive) end position of this.
Auto Trait Implementations§
impl Freeze for Try
impl RefUnwindSafe for Try
impl Send for Try
impl Sync for Try
impl Unpin for Try
impl UnwindSafe for Try
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