pub struct PrettyExt { /* private fields */ }Available on crate features
bincode or serde only.Expand description
Extension of Pretty to support bincode serialization
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for PrettyExt
impl<'__de, __Context> BorrowDecode<'__de, __Context> for PrettyExt
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<'de> Deserialize<'de> for PrettyExt
impl<'de> Deserialize<'de> for PrettyExt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PrettyExt
Auto Trait Implementations§
impl Freeze for PrettyExt
impl RefUnwindSafe for PrettyExt
impl Send for PrettyExt
impl Sync for PrettyExt
impl Unpin for PrettyExt
impl UnwindSafe for PrettyExt
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