pub struct CanonResourceNew<'a> {
pub ty: Index<'a>,
}Available on crate feature
component-model only.Expand description
Information relating to the resource.new intrinsic.
Fields§
§ty: Index<'a>The resource type that this intrinsic creates an owned reference to.
Trait Implementations§
Source§impl<'a> Debug for CanonResourceNew<'a>
impl<'a> Debug for CanonResourceNew<'a>
Auto Trait Implementations§
impl<'a> Freeze for CanonResourceNew<'a>
impl<'a> RefUnwindSafe for CanonResourceNew<'a>
impl<'a> Send for CanonResourceNew<'a>
impl<'a> Sync for CanonResourceNew<'a>
impl<'a> Unpin for CanonResourceNew<'a>
impl<'a> UnwindSafe for CanonResourceNew<'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