[−][src]Struct runestick::OwnedRef
A strong reference to the given type.
Implementations
impl<T: ?Sized> OwnedRef<T>
[src]
pub fn into_raw(this: Self) -> (*const T, RawOwnedRef)
[src]
Convert into a raw pointer and associated raw access guard.
Safety
The returned pointer must not outlive the associated guard, since this prevents other uses of the underlying data which is incompatible with the current.
The returned pointer also must not outlive the VM that produced. Nor a call to clear the VM using clear, since this will free up the data being referenced.
Trait Implementations
impl<T: ?Sized> Debug for OwnedRef<T> where
T: Debug,
[src]
T: Debug,
impl<T: ?Sized> Deref for OwnedRef<T>
[src]
impl FromValue for OwnedRef<Function>
[src]
fn from_value(value: Value) -> Result<Self, VmError>
[src]
impl ValueType for OwnedRef<Function>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for OwnedRef<T>
impl<T> !Send for OwnedRef<T>
impl<T> !Sync for OwnedRef<T>
impl<T: ?Sized> Unpin for OwnedRef<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for OwnedRef<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,