devela::_dep::rkyv

Type Alias Archived

pub type Archived<T> = <T as Archive>::Archived;
Available on crate feature dep_rkyv only.
Expand description

Alias for the archived version of some Archive type.

This can be useful for reducing the lengths of type definitions.

Trait Implementations§

Source§

impl<__D: Fallible + ?Sized, T, const CAP: usize, S: Storage> Deserialize<Array<T, CAP, S>, __D> for Archived<Array<T, CAP, S>>

Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Array<T, CAP, S>, <__D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<__D: Fallible + ?Sized, T, const C: usize, const R: usize, const CR: usize, const RMAJ: bool, S: Storage> Deserialize<Array2d<T, C, R, CR, RMAJ, S>, __D> for Archived<Array2d<T, C, R, CR, RMAJ, S>>
where Array<T, CR, S>: Archive, <Array<T, CR, S> as Archive>::Archived: Deserialize<Array<T, CR, S>, __D>,

Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Array2d<T, C, R, CR, RMAJ, S>, <__D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<__D: Fallible + ?Sized, T> Deserialize<BareBox<T>, __D> for Archived<BareBox<T>>
where T: Archive, <T as Archive>::Archived: Deserialize<T, __D>,

Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<BareBox<T>, <__D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<__D: Fallible + ?Sized> Deserialize<Boxed, __D> for Archived<Boxed>

Available on crate feature alloc only.
Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Boxed, <__D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<__D: Fallible + ?Sized, T, const CAP: usize, IDX, S: Storage> Deserialize<Destaque<T, CAP, IDX, S>, __D> for Archived<Destaque<T, CAP, IDX, S>>
where Array<T, CAP, S>: Archive, <Array<T, CAP, S> as Archive>::Archived: Deserialize<Array<T, CAP, S>, __D>, IDX: Archive, <IDX as Archive>::Archived: Deserialize<IDX, __D>,

Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Destaque<T, CAP, IDX, S>, <__D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<__D: Fallible + ?Sized, T, const CAP: usize, IDX, S: Storage> Deserialize<Stack<T, CAP, IDX, S>, __D> for Archived<Stack<T, CAP, IDX, S>>
where Array<T, CAP, S>: Archive, <Array<T, CAP, S> as Archive>::Archived: Deserialize<Array<T, CAP, S>, __D>, IDX: Archive, <IDX as Archive>::Archived: Deserialize<IDX, __D>,

Source§

fn deserialize( &self, deserializer: &mut __D, ) -> Result<Stack<T, CAP, IDX, S>, <__D as Fallible>::Error>

Deserializes using the given deserializer