[−][src]Struct bm_le::Compact
Indicate that the current value should be serialized and deserialized in Compact format. Value form.
Trait Implementations
impl<T, L: ArrayLength<T>> IntoTree for Compact<GenericArray<T, L>> where
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree, [src]
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree,
fn into_tree<DB: WriteBackend>(
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T, L: Unsigned> IntoTree for Compact<VecArray<T, L>> where
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree, [src]
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree,
fn into_tree<DB: WriteBackend>(
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T, ML: Unsigned> IntoTree for Compact<MaxVec<T, ML>> where
ElementalVariableVecRef<'b, T>: IntoCompactListTree, [src]
ElementalVariableVecRef<'b, T>: IntoCompactListTree,
fn into_tree<DB: WriteBackend>(
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
&self,
db: &mut DB
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T, L: ArrayLength<T>> FromTree for Compact<GenericArray<T, L>> where
T: Default,
ElementalFixedVec<T>: FromCompactVectorTree, [src]
T: Default,
ElementalFixedVec<T>: FromCompactVectorTree,
fn from_tree<DB: ReadBackend>(
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T, L: Unsigned> FromTree for Compact<VecArray<T, L>> where
T: Default,
ElementalFixedVec<T>: FromCompactVectorTree, [src]
T: Default,
ElementalFixedVec<T>: FromCompactVectorTree,
fn from_tree<DB: ReadBackend>(
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T, ML: Unsigned> FromTree for Compact<MaxVec<T, ML>> where
ElementalVariableVec<T>: FromCompactListTree, [src]
ElementalVariableVec<T>: FromCompactListTree,
fn from_tree<DB: ReadBackend>(
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct, [src]
root: &ValueOf<DB::Construct>,
db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T> From<T> for Compact<T>[src]
impl<T: PartialEq> PartialEq<Compact<T>> for Compact<T>[src]
impl<T: Clone> Clone for Compact<T>[src]
fn clone(&self) -> Compact<T>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Eq> Eq for Compact<T>[src]
impl<T: Debug> Debug for Compact<T>[src]
impl<T> Serialize for Compact<T> where
T: Serialize, [src]
T: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de, T> Deserialize<'de> for Compact<T> where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<T> Unpin for Compact<T> where
T: Unpin,
T: Unpin,
impl<T> Sync for Compact<T> where
T: Sync,
T: Sync,
impl<T> Send for Compact<T> where
T: Send,
T: Send,
impl<T> RefUnwindSafe for Compact<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for Compact<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self