Struct goods_ron::RonFormat [−][src]
Format that treats bytes as RON document and deserializes asset representation with serde
.
Trait Implementations
impl Clone for RonFormat
[src]
impl Copy for RonFormat
[src]
impl Debug for RonFormat
[src]
impl Default for RonFormat
[src]
impl Eq for RonFormat
[src]
impl Hash for RonFormat
[src]
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 PartialEq<RonFormat> for RonFormat
[src]
fn eq(&self, other: &RonFormat) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<A, K> SimpleFormat<A, K> for RonFormat where
A: DeserializeOwned,
[src]
A: DeserializeOwned,
impl StructuralEq for RonFormat
[src]
impl StructuralPartialEq for RonFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for RonFormat
[src]
impl Send for RonFormat
[src]
impl Sync for RonFormat
[src]
impl Unpin for RonFormat
[src]
impl UnwindSafe for RonFormat
[src]
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> CallHasher for T where
T: Hash,
T: Hash,
impl<A, K, F> Format<A, K> for F where
A: Send + 'static,
F: SimpleFormat<A, K> + 'static,
[src]
A: Send + 'static,
F: SimpleFormat<A, K> + 'static,
type DecodeFuture = Ready<Result<A, Report>>
Decoding future.
pub fn decode(
self,
key: K,
bytes: Box<[u8], Global>,
_cache: &Cache<K>
) -> Ready<Result<A, Report>>
[src]
self,
key: K,
bytes: Box<[u8], Global>,
_cache: &Cache<K>
) -> Ready<Result<A, Report>>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Key for T where
T: Debug + Eq + Hash + Clone + 'static,
[src]
T: Debug + Eq + Hash + Clone + 'static,
impl<A, K, F> LocalFormat<A, K> for F where
A: 'static,
F: SimpleFormat<A, K> + 'static,
[src]
A: 'static,
F: SimpleFormat<A, K> + 'static,
type DecodeFuture = Ready<Result<A, Report>>
Decoding future.
pub fn decode_local(
self,
key: K,
bytes: Box<[u8], Global>,
_cache: &LocalCache<K>
) -> Ready<Result<A, Report>>
[src]
self,
key: K,
bytes: Box<[u8], Global>,
_cache: &LocalCache<K>
) -> Ready<Result<A, Report>>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,