[−][src]Struct rkyv::std_impl::ArchivedBox
An archived Box
.
This is a thin wrapper around the reference type for whatever type was archived.
Implementations
impl<T: DerefMut> ArchivedBox<T>
[src]
pub fn get_pin(self: Pin<&mut Self>) -> Pin<&mut <T as Deref>::Target>
[src]
Gets the value of this archived box as a pinned mutable reference.
Trait Implementations
impl<T: CheckBytes<C>, C> CheckBytes<C> for ArchivedBox<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 ArchivedBox<T>
[src]
impl<T: Deref> Deref for ArchivedBox<T>
[src]
type Target = T::Target
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl<T: DerefMut> DerefMut for ArchivedBox<T>
[src]
impl<T: Eq> Eq for ArchivedBox<T>
[src]
impl<T: Hash> Hash for ArchivedBox<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 ArchivedBox<T>
[src]
pub fn cmp(&self, other: &ArchivedBox<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<ArchivedBox<T>> for ArchivedBox<T>
[src]
pub fn eq(&self, other: &ArchivedBox<T>) -> bool
[src]
pub fn ne(&self, other: &ArchivedBox<T>) -> bool
[src]
impl<T: Deref<Target = U>, U: PartialEq<V> + ?Sized, V: ?Sized> PartialEq<Box<V, Global>> for ArchivedBox<T>
[src]
pub fn eq(&self, other: &Box<V>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: PartialOrd> PartialOrd<ArchivedBox<T>> for ArchivedBox<T>
[src]
pub fn partial_cmp(&self, other: &ArchivedBox<T>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &ArchivedBox<T>) -> bool
[src]
pub fn le(&self, other: &ArchivedBox<T>) -> bool
[src]
pub fn gt(&self, other: &ArchivedBox<T>) -> bool
[src]
pub fn ge(&self, other: &ArchivedBox<T>) -> bool
[src]
impl<T> StructuralEq for ArchivedBox<T>
[src]
impl<T> StructuralPartialEq for ArchivedBox<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ArchivedBox<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArchivedBox<T> where
T: Send,
T: Send,
impl<T> Sync for ArchivedBox<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ArchivedBox<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ArchivedBox<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>,