Struct bitcoin_primitives::u160
source · pub struct u160 {
pub blob: BaseBlob<160>,
}Expand description
| 160-bit opaque blob. | | ———– | @note | | This type is called u160 for historical | reasons only. It is an opaque blob of | 160 bits and has no integer operations. |
Fields§
§blob: BaseBlob<160>Trait Implementations§
source§impl PartialEq<u160> for u160
impl PartialEq<u160> for u160
impl Eq for u160
impl StructuralEq for u160
impl StructuralPartialEq for u160
Auto Trait Implementations§
impl RefUnwindSafe for u160
impl Send for u160
impl Sync for u160
impl Unpin for u160
impl UnwindSafe for u160
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more