[][src]Struct triomphe::HeaderSlice

pub struct HeaderSlice<H, T: ?Sized> {
    pub header: H,
    pub slice: T,
}

Structure to allow Arc-managing some fixed-sized data and a variably-sized slice in a single allocation.

Fields

header: H

The fixed-sized data.

slice: T

The dynamically-sized data.

Trait Implementations

impl<H: Eq, T: Eq + ?Sized> Eq for HeaderSlice<H, T>[src]

impl<H: PartialOrd, T: PartialOrd + ?Sized> PartialOrd<HeaderSlice<H, T>> for HeaderSlice<H, T>[src]

impl<H: PartialEq, T: PartialEq + ?Sized> PartialEq<HeaderSlice<H, T>> for HeaderSlice<H, T>[src]

impl<H: Debug, T: Debug + ?Sized> Debug for HeaderSlice<H, T>[src]

Auto Trait Implementations

impl<H, T: ?Sized> Send for HeaderSlice<H, T> where
    H: Send,
    T: Send

impl<H, T: ?Sized> Sync for HeaderSlice<H, T> where
    H: Sync,
    T: Sync

Blanket Implementations

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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