Struct stack_dst::ValueA [] [src]

pub struct ValueA<T: ?Sized, D: DataBuf> { /* fields omitted */ }

Stack-allocated dynamically sized type

T is the unsized type contaned. D is the buffer used to hold the unsized type (both data and metadata).

Methods

impl<T: ?Sized, D: DataBuf> ValueA<T, D>
[src]

[src]

Construct a stack-based DST

Returns Ok(dst) if the allocation was successful, or Err(val) if it failed

Trait Implementations

impl<T: ?Sized, D: DataBuf> Deref for ValueA<T, D>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T: ?Sized, D: DataBuf> DerefMut for ValueA<T, D>
[src]

[src]

Mutably dereferences the value.

impl<T: ?Sized, D: DataBuf> Drop for ValueA<T, D>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<T: ?Sized, D> Send for ValueA<T, D> where
    D: Send,
    T: Send

impl<T: ?Sized, D> Sync for ValueA<T, D> where
    D: Sync,
    T: Sync