[−][src]Struct triomphe::HeaderSlice
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]
fn partial_cmp(&self, other: &HeaderSlice<H, T>) -> Option<Ordering>
[src]
fn lt(&self, other: &HeaderSlice<H, T>) -> bool
[src]
fn le(&self, other: &HeaderSlice<H, T>) -> bool
[src]
fn gt(&self, other: &HeaderSlice<H, T>) -> bool
[src]
fn ge(&self, other: &HeaderSlice<H, T>) -> bool
[src]
impl<H: PartialEq, T: PartialEq + ?Sized> PartialEq<HeaderSlice<H, T>> for HeaderSlice<H, T>
[src]
fn eq(&self, other: &HeaderSlice<H, T>) -> bool
[src]
fn ne(&self, other: &HeaderSlice<H, T>) -> bool
[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,
H: Send,
T: Send,
impl<H, T: ?Sized> Sync for HeaderSlice<H, T> where
H: Sync,
T: Sync,
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]
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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,