pub enum FactComponentIntrinsic {
ResourceTransferBorrowToOwner {
ty: TypeResourceTableIndex,
instance: RuntimeComponentInstanceIndex,
},
}Expand description
The component-model-specific FactInlineIntrinsics.
Variants§
ResourceTransferBorrowToOwner
resource.transfer-borrow-to-owner: lazily lend a borrow to its
resource’s owning instance, or fall back to the libcall.
Fields
§
ty: TypeResourceTableIndexThe resource type of the handle being lent.
§
instance: RuntimeComponentInstanceIndexThe component instance owning ty’s handle table.
Trait Implementations§
Source§impl Clone for FactComponentIntrinsic
impl Clone for FactComponentIntrinsic
impl Copy for FactComponentIntrinsic
Source§impl Debug for FactComponentIntrinsic
impl Debug for FactComponentIntrinsic
impl Eq for FactComponentIntrinsic
Source§impl From<FactComponentIntrinsic> for FactInlineIntrinsic
impl From<FactComponentIntrinsic> for FactInlineIntrinsic
Source§fn from(intrinsic: FactComponentIntrinsic) -> Self
fn from(intrinsic: FactComponentIntrinsic) -> Self
Converts to this type from the input type.
Source§impl Hash for FactComponentIntrinsic
impl Hash for FactComponentIntrinsic
Source§impl PartialEq for FactComponentIntrinsic
impl PartialEq for FactComponentIntrinsic
impl StructuralPartialEq for FactComponentIntrinsic
Auto Trait Implementations§
impl Freeze for FactComponentIntrinsic
impl RefUnwindSafe for FactComponentIntrinsic
impl Send for FactComponentIntrinsic
impl Sync for FactComponentIntrinsic
impl Unpin for FactComponentIntrinsic
impl UnsafeUnpin for FactComponentIntrinsic
impl UnwindSafe for FactComponentIntrinsic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more