Struct parity_scale_codec::OptionBool [−][src]
Shim type because we can’t do a specialised implementation for Option<bool> directly.
Trait Implementations
impl Clone for OptionBool[src]
fn clone(&self) -> OptionBool[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for OptionBool[src]
impl Debug for OptionBool[src]
impl Decode for OptionBool[src]
impl Encode for OptionBool[src]
fn size_hint(&self) -> usize[src]
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R[src]
fn encode_to<T: Output>(&self, dest: &mut T)[src]
fn encode(&self) -> Vec<u8>ⓘ[src]
impl EncodeLike<OptionBool> for OptionBool[src]
impl Eq for OptionBool[src]
impl PartialEq<OptionBool> for OptionBool[src]
fn eq(&self, other: &OptionBool) -> bool[src]
fn ne(&self, other: &OptionBool) -> bool[src]
impl StructuralEq for OptionBool[src]
impl StructuralPartialEq for OptionBool[src]
Auto Trait Implementations
impl RefUnwindSafe for OptionBool
impl Send for OptionBool
impl Sync for OptionBool
impl Unpin for OptionBool
impl UnwindSafe for OptionBool
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,