pub struct ChainCode(/* private fields */);
Expand description
A chain code
Implementations§
§impl ChainCode
impl ChainCode
pub fn as_mut_ptr(&mut self) -> *mut u8
pub fn as_mut_ptr(&mut self) -> *mut u8
Converts the object to a mutable raw pointer.
Trait Implementations§
§impl BorrowMut<[u8]> for ChainCode
impl BorrowMut<[u8]> for ChainCode
§fn borrow_mut(&mut self) -> &mut [u8] ⓘ
fn borrow_mut(&mut self) -> &mut [u8] ⓘ
Mutably borrows from an owned value. Read more
§impl BorrowMut<[u8; 32]> for ChainCode
impl BorrowMut<[u8; 32]> for ChainCode
§fn borrow_mut(&mut self) -> &mut [u8; 32]
fn borrow_mut(&mut self) -> &mut [u8; 32]
Mutably borrows from an owned value. Read more
§impl<'de> Deserialize<'de> for ChainCode
impl<'de> Deserialize<'de> for ChainCode
§fn deserialize<D>(d: D) -> Result<ChainCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<ChainCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for ChainCode
impl Ord for ChainCode
§impl PartialOrd for ChainCode
impl PartialOrd for ChainCode
§fn partial_cmp(&self, other: &ChainCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ChainCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more§impl Serialize for ChainCode
impl Serialize for ChainCode
§fn serialize<S>(
&self,
s: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ChainCode
impl Eq for ChainCode
impl StructuralPartialEq for ChainCode
Auto Trait Implementations§
impl Freeze for ChainCode
impl RefUnwindSafe for ChainCode
impl Send for ChainCode
impl Sync for ChainCode
impl Unpin for ChainCode
impl UnwindSafe for ChainCode
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more