[−][src]Struct rkyv::std_impl::ArchivedVec
An archived Vec
.
Uses ArchivedSlice
under the hood.
Implementations
impl<T: DerefMut> ArchivedVec<T>
[src]
pub fn index_pin<I>(
self: Pin<&mut Self>,
index: I
) -> Pin<&mut <T::Target as Index<I>>::Output> where
T::Target: IndexMut<I>,
[src]
self: Pin<&mut Self>,
index: I
) -> Pin<&mut <T::Target as Index<I>>::Output> where
T::Target: IndexMut<I>,
Gets the element at the given index ot this archived vec as a pinned mutable reference.
Trait Implementations
impl<T: CheckBytes<C>, C> CheckBytes<C> for ArchivedVec<T>
[src]
type Error = <T as CheckBytes<C>>::Error
The error that may result from validating the type.
pub unsafe fn check_bytes<'a>(
bytes: *const u8,
context: &mut C
) -> Result<&'a Self, Self::Error>
[src]
bytes: *const u8,
context: &mut C
) -> Result<&'a Self, Self::Error>
impl<T: Debug> Debug for ArchivedVec<T>
[src]
impl<T: Deref> Deref for ArchivedVec<T>
[src]
type Target = T::Target
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl<T: DerefMut> DerefMut for ArchivedVec<T>
[src]
impl<T: Eq> Eq for ArchivedVec<T>
[src]
impl<T: Hash> Hash for ArchivedVec<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 ArchivedVec<T>
[src]
pub fn cmp(&self, other: &ArchivedVec<T>) -> 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<ArchivedVec<T>> for ArchivedVec<T>
[src]
pub fn eq(&self, other: &ArchivedVec<T>) -> bool
[src]
pub fn ne(&self, other: &ArchivedVec<T>) -> bool
[src]
impl<T: Deref<Target = [U]>, U: PartialEq<V>, V> PartialEq<Vec<V, Global>> for ArchivedVec<T>
[src]
pub fn eq(&self, other: &Vec<V>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: PartialOrd> PartialOrd<ArchivedVec<T>> for ArchivedVec<T>
[src]
pub fn partial_cmp(&self, other: &ArchivedVec<T>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &ArchivedVec<T>) -> bool
[src]
pub fn le(&self, other: &ArchivedVec<T>) -> bool
[src]
pub fn gt(&self, other: &ArchivedVec<T>) -> bool
[src]
pub fn ge(&self, other: &ArchivedVec<T>) -> bool
[src]
impl<T> StructuralEq for ArchivedVec<T>
[src]
impl<T> StructuralPartialEq for ArchivedVec<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ArchivedVec<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArchivedVec<T> where
T: Send,
T: Send,
impl<T> Sync for ArchivedVec<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ArchivedVec<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ArchivedVec<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>,