Struct oc_wasm_safe::descriptor::Borrowed [−][src]
pub struct Borrowed<'a>(_, _);
Expand description
A borrowed opaque value descriptor.
A value of this type encapsulates an opaque value descriptor. Copying or cloning it produces a
new object containing the same descriptor. Dropping it does nothing. CBOR-encoding it yields an
integer with the Identifier (39) tag. While a value of this type exists, lifetime rules prevent
the modification or dropping of the Owned
value from which it borrowed its
descriptor.
Implementations
Trait Implementations
Borrows the descriptor.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Borrowed<'a>
impl<'a> UnwindSafe for Borrowed<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more