pub struct AttrScope<'a> { /* private fields */ }
Expand description
Generated scope for the Attr resource.
This object represents the resource scope for a zone configuration, and automatically closes that scope when dropped.
To construct this object, refer to Config::add_attr.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AttrScope<'a>
impl<'a> Send for AttrScope<'a>
impl<'a> Sync for AttrScope<'a>
impl<'a> Unpin for AttrScope<'a>
impl<'a> !UnwindSafe for AttrScope<'a>
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