pub struct RonFormat;Expand description
Format that treats bytes as RON document and deserializes asset representation with serde.
Trait Implementations§
Source§impl<A, K> SimpleFormat<A, K> for RonFormatwhere
A: DeserializeOwned,
impl<A, K> SimpleFormat<A, K> for RonFormatwhere
A: DeserializeOwned,
impl Copy for RonFormat
impl Eq for RonFormat
impl StructuralPartialEq for RonFormat
Auto Trait Implementations§
impl Freeze for RonFormat
impl RefUnwindSafe for RonFormat
impl Send for RonFormat
impl Sync for RonFormat
impl Unpin for RonFormat
impl UnwindSafe for RonFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CallHasher for Twhere
T: Hash,
impl<T> CallHasher for Twhere
T: Hash,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<A, K, F> Format<A, K> for Fwhere
A: Send + 'static,
F: SimpleFormat<A, K> + 'static,
impl<A, K, F> Format<A, K> for Fwhere
A: Send + 'static,
F: SimpleFormat<A, K> + 'static,
Source§impl<A, K, F> LocalFormat<A, K> for Fwhere
A: 'static,
F: SimpleFormat<A, K> + 'static,
impl<A, K, F> LocalFormat<A, K> for Fwhere
A: 'static,
F: SimpleFormat<A, K> + 'static,
Source§fn decode_local(
self,
key: K,
bytes: Box<[u8]>,
_cache: &LocalCache<K>,
) -> Ready<Result<A, Report>>
fn decode_local( self, key: K, bytes: Box<[u8]>, _cache: &LocalCache<K>, ) -> Ready<Result<A, Report>>
Decode asset intermediate representation from raw data using cache to fetch sub-assets.