pub struct WitnessHeight(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Clone for WitnessHeight
impl Clone for WitnessHeight
Source§fn clone(&self) -> WitnessHeight
fn clone(&self) -> WitnessHeight
Returns a copy 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 WitnessHeight
impl Debug for WitnessHeight
Source§impl<'de> Deserialize<'de> for WitnessHeight
impl<'de> Deserialize<'de> for WitnessHeight
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WitnessHeight, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WitnessHeight, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WitnessHeight
impl Display for WitnessHeight
Source§impl Hash for WitnessHeight
impl Hash for WitnessHeight
Source§impl Ord for WitnessHeight
impl Ord for WitnessHeight
Source§fn cmp(&self, other: &WitnessHeight) -> Ordering
fn cmp(&self, other: &WitnessHeight) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WitnessHeight
impl PartialEq for WitnessHeight
Source§impl PartialOrd for WitnessHeight
impl PartialOrd for WitnessHeight
Source§impl Serialize for WitnessHeight
impl Serialize for WitnessHeight
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for WitnessHeight
impl StrictDecode for WitnessHeight
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<WitnessHeight, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
Source§impl StrictDumb for WitnessHeight
impl StrictDumb for WitnessHeight
fn strict_dumb() -> WitnessHeight
Source§impl StrictEncode for WitnessHeight
impl StrictEncode for WitnessHeight
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
Source§impl StrictTuple for WitnessHeight
impl StrictTuple for WitnessHeight
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for WitnessHeight
impl StrictType for WitnessHeight
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
impl Copy for WitnessHeight
impl Eq for WitnessHeight
impl StrictProduct for WitnessHeight
impl StructuralPartialEq for WitnessHeight
Auto Trait Implementations§
impl Freeze for WitnessHeight
impl RefUnwindSafe for WitnessHeight
impl Send for WitnessHeight
impl Sync for WitnessHeight
impl Unpin for WitnessHeight
impl UnwindSafe for WitnessHeight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.