Type Alias servo_arc::HeaderSliceWithLength
source · pub(crate) type HeaderSliceWithLength<H, T> = HeaderSlice<HeaderWithLength<H>, T>;
Aliased Type§
struct HeaderSliceWithLength<H, T> {
pub header: HeaderWithLength<H>,
pub slice: T,
}
Fields§
§header: HeaderWithLength<H>
The fixed-sized data.
slice: T
The dynamically-sized data.
Trait Implementations§
source§impl<H: PartialEq, T: PartialEq + ?Sized> PartialEq<HeaderSlice<H, T>> for HeaderSlice<H, T>
impl<H: PartialEq, T: PartialEq + ?Sized> PartialEq<HeaderSlice<H, T>> for HeaderSlice<H, T>
source§fn eq(&self, other: &HeaderSlice<H, T>) -> bool
fn eq(&self, other: &HeaderSlice<H, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<H: PartialOrd, T: PartialOrd + ?Sized> PartialOrd<HeaderSlice<H, T>> for HeaderSlice<H, T>
impl<H: PartialOrd, T: PartialOrd + ?Sized> PartialOrd<HeaderSlice<H, T>> for HeaderSlice<H, T>
source§fn partial_cmp(&self, other: &HeaderSlice<H, T>) -> Option<Ordering>
fn partial_cmp(&self, other: &HeaderSlice<H, T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more