pub struct CanonResourceDrop<'a> {
pub ty: Index<'a>,
pub async_: bool,
}Available on crate feature
component-model only.Expand description
Information relating to the resource.drop intrinsic.
Fields§
§ty: Index<'a>The resource type that this intrinsic is dropping.
async_: boolWhether or not this function is async
Trait Implementations§
Source§impl<'a> Debug for CanonResourceDrop<'a>
impl<'a> Debug for CanonResourceDrop<'a>
Auto Trait Implementations§
impl<'a> Freeze for CanonResourceDrop<'a>
impl<'a> RefUnwindSafe for CanonResourceDrop<'a>
impl<'a> Send for CanonResourceDrop<'a>
impl<'a> Sync for CanonResourceDrop<'a>
impl<'a> Unpin for CanonResourceDrop<'a>
impl<'a> UnwindSafe for CanonResourceDrop<'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