[−][src]Struct rkyv::core_impl::ArchivedSlice
A strongly typed relative slice reference.
This is the reference type for all archived slices. It uses RelPtr
under
the hood and stores an additional length parameter.
Trait Implementations
impl<T: CheckBytes<ArchiveContext>> CheckBytes<ArchiveContext> for ArchivedSlice<T>
[src]
type Error = ArchivedSliceError<T::Error>
The error that may result from validating the type.
pub unsafe fn check_bytes<'a>(
bytes: *const u8,
context: &mut ArchiveContext
) -> Result<&'a Self, Self::Error>
[src]
bytes: *const u8,
context: &mut ArchiveContext
) -> Result<&'a Self, Self::Error>
impl<T: Debug> Debug for ArchivedSlice<T>
[src]
impl<T> Deref for ArchivedSlice<T>
[src]
impl<T> DerefMut for ArchivedSlice<T>
[src]
impl<T: Eq> Eq for ArchivedSlice<T>
[src]
impl<T: Hash> Hash for ArchivedSlice<T>
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: Ord> Ord for ArchivedSlice<T>
[src]
pub fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T: PartialEq> PartialEq<ArchivedSlice<T>> for ArchivedSlice<T>
[src]
pub fn eq(&self, other: &Self) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: PartialOrd> PartialOrd<ArchivedSlice<T>> for ArchivedSlice<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ArchivedSlice<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArchivedSlice<T> where
T: Send,
T: Send,
impl<T> Sync for ArchivedSlice<T> where
T: Sync,
T: Sync,
impl<T> !Unpin for ArchivedSlice<T>
impl<T> UnwindSafe for ArchivedSlice<T> where
T: 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>,