[−][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: Debug, T: Debug + ?Sized> Debug for HeaderSlice<H, T>
[src]
impl<H: Eq, T: Eq + ?Sized> Eq for HeaderSlice<H, T>
[src]
impl<H: Hash, T: Hash + ?Sized> Hash for HeaderSlice<H, T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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: 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, T: ?Sized> StructuralEq for HeaderSlice<H, T>
[src]
impl<H, T: ?Sized> StructuralPartialEq for HeaderSlice<H, T>
[src]
Auto Trait Implementations
impl<H, T: ?Sized> RefUnwindSafe for HeaderSlice<H, T> where
H: RefUnwindSafe,
T: RefUnwindSafe,
H: RefUnwindSafe,
T: RefUnwindSafe,
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,
impl<H, T: ?Sized> Unpin for HeaderSlice<H, T> where
H: Unpin,
T: Unpin,
H: Unpin,
T: Unpin,
impl<H, T: ?Sized> UnwindSafe for HeaderSlice<H, T> where
H: UnwindSafe,
T: UnwindSafe,
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,