[][src]Struct artichoke_backend::convert::UnboxedValueGuard

pub struct UnboxedValueGuard<'a, T> { /* fields omitted */ }

Implementations

impl<'a, T> UnboxedValueGuard<'a, T>[src]

#[must_use]pub fn new(value: T) -> Self[src]

#[must_use]pub fn as_inner_ref(&self) -> &T[src]

#[must_use]pub fn as_inner_mut(&mut self) -> &mut T[src]

Trait Implementations

impl<'a> AsMut<Array> for UnboxedValueGuard<'a, Array>[src]

impl<'a, T> AsMut<T> for UnboxedValueGuard<'a, HeapAllocated<T>>[src]

impl<'a> AsRef<Array> for UnboxedValueGuard<'a, Array>[src]

impl<'a, T> AsRef<T> for UnboxedValueGuard<'a, HeapAllocated<T>>[src]

impl<'a, T> Debug for UnboxedValueGuard<'a, T> where
    T: Debug
[src]

impl<'a, T> Deref for UnboxedValueGuard<'a, HeapAllocated<T>>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T> Deref for UnboxedValueGuard<'a, Immediate<T>>[src]

type Target = T

The resulting type after dereferencing.

impl<'a> Deref for UnboxedValueGuard<'a, Array>[src]

type Target = Array

The resulting type after dereferencing.

impl<'a, T> DerefMut for UnboxedValueGuard<'a, HeapAllocated<T>>[src]

impl<'a, T> DerefMut for UnboxedValueGuard<'a, Immediate<T>>[src]

impl<'a> DerefMut for UnboxedValueGuard<'a, Array>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for UnboxedValueGuard<'a, T> where
    T: RefUnwindSafe
[src]

impl<'a, T> Send for UnboxedValueGuard<'a, T> where
    T: Send
[src]

impl<'a, T> Sync for UnboxedValueGuard<'a, T> where
    T: Sync
[src]

impl<'a, T> Unpin for UnboxedValueGuard<'a, T> where
    T: Unpin
[src]

impl<'a, T> !UnwindSafe for UnboxedValueGuard<'a, T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]