pub struct PackedState(pub Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Source§impl AsRef<[u8]> for PackedState
impl AsRef<[u8]> for PackedState
Source§impl Clone for PackedState
impl Clone for PackedState
Source§fn clone(&self) -> PackedState
fn clone(&self) -> PackedState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PackedState
impl Debug for PackedState
Source§impl<'de> Deserialize<'de> for PackedState
impl<'de> Deserialize<'de> for PackedState
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
Source§impl From<PackedState> for Vec<u8>
impl From<PackedState> for Vec<u8>
Source§fn from(original: PackedState) -> Self
fn from(original: PackedState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PackedState
impl PartialEq for PackedState
Source§impl Serialize for PackedState
impl Serialize for PackedState
impl Eq for PackedState
impl StructuralPartialEq for PackedState
Auto Trait Implementations§
impl Freeze for PackedState
impl RefUnwindSafe for PackedState
impl Send for PackedState
impl Sync for PackedState
impl Unpin for PackedState
impl UnwindSafe for PackedState
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