pub struct TryWithResourcesStatement<'tree> {
pub span: Span,
pub body: Block<'tree>,
pub resources: ResourceSpecification<'tree>,
pub children: Vec<TryWithResourcesStatementChildren<'tree>>,
}Fields§
§span: Span§body: Block<'tree>§resources: ResourceSpecification<'tree>§children: Vec<TryWithResourcesStatementChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for TryWithResourcesStatement<'tree>
impl<'tree> Clone for TryWithResourcesStatement<'tree>
Source§fn clone(&self) -> TryWithResourcesStatement<'tree>
fn clone(&self) -> TryWithResourcesStatement<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for TryWithResourcesStatement<'tree>
impl<'tree> Debug for TryWithResourcesStatement<'tree>
Source§impl<'tree> FromNode<'tree> for TryWithResourcesStatement<'tree>
impl<'tree> FromNode<'tree> for TryWithResourcesStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TryWithResourcesStatement<'tree>
impl<'tree> RefUnwindSafe for TryWithResourcesStatement<'tree>
impl<'tree> Send for TryWithResourcesStatement<'tree>
impl<'tree> Sync for TryWithResourcesStatement<'tree>
impl<'tree> Unpin for TryWithResourcesStatement<'tree>
impl<'tree> UnsafeUnpin for TryWithResourcesStatement<'tree>
impl<'tree> UnwindSafe for TryWithResourcesStatement<'tree>
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