[][src]Struct stk::packages::bytes::Bytes

pub struct Bytes { /* fields omitted */ }

A bytes container.

Implementations

impl Bytes[src]

pub fn into_inner(self) -> Vec<u8>[src]

Convert into inner byte array.

pub fn from_bytes(bytes: Vec<u8>) -> Self[src]

Construct from a byte array.

Trait Implementations

impl Clone for Bytes[src]

impl Debug for Bytes[src]

impl Deref for Bytes[src]

type Target = [u8]

The resulting type after dereferencing.

impl FromValue for Bytes[src]

impl ReflectValueType for Bytes[src]

impl<'a> ReflectValueType for &'a Bytes[src]

impl<'a> ReflectValueType for &'a mut Bytes[src]

impl ToValue for Bytes[src]

impl<'a> UnsafeFromValue for &'a Bytes[src]

type Guard = RawRefGuard

The raw guard returned. Read more

impl<'a> UnsafeFromValue for &'a mut Bytes[src]

type Guard = RawMutGuard

The raw guard returned. Read more

impl<'a> UnsafeToValue for &'a Bytes[src]

impl<'a> UnsafeToValue for &'a mut Bytes[src]

Auto Trait Implementations

impl RefUnwindSafe for Bytes

impl Send for Bytes

impl Sync for Bytes

impl Unpin for Bytes

impl UnwindSafe for Bytes

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,