[−][src]Struct lnpbp::bp::short_id::ShortId
Implementations
impl ShortId
[src]
pub const FLAG_OFFCHAIN: u64
[src]
pub const MASK_BLOCK: u64
[src]
pub const MASK_BLOCKCHECK: u64
[src]
pub const MASK_TXIDX: u64
[src]
pub const MASK_TXCHECK: u64
[src]
pub const FLAG_INOUT: u64
[src]
pub const MASK_INOUT: u64
[src]
pub const SHIFT_BLOCK: u64
[src]
pub const SHIFT_BLOCKCHECK: u64
[src]
pub const SHIFT_TXIDX: u64
[src]
pub fn is_onchain(&self) -> bool
[src]
pub fn is_offchain(&self) -> bool
[src]
pub fn get_descriptor(&self) -> Descriptor
[src]
pub fn into_u64(self) -> u64
[src]
Trait Implementations
impl Clone for ShortId
[src]
impl Copy for ShortId
[src]
impl Debug for ShortId
[src]
impl Display for ShortId
[src]
impl Eq for ShortId
[src]
impl From<ShortId> for Descriptor
[src]
impl From<ShortId> for u64
[src]
impl From<u64> for ShortId
[src]
impl Hash for ShortId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ShortId
[src]
fn cmp(&self, other: &ShortId) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ShortId> for ShortId
[src]
impl PartialOrd<ShortId> for ShortId
[src]
fn partial_cmp(&self, other: &ShortId) -> Option<Ordering>
[src]
fn lt(&self, other: &ShortId) -> bool
[src]
fn le(&self, other: &ShortId) -> bool
[src]
fn gt(&self, other: &ShortId) -> bool
[src]
fn ge(&self, other: &ShortId) -> bool
[src]
impl StrictDecode for ShortId
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for ShortId
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for ShortId
[src]
impl StructuralPartialEq for ShortId
[src]
impl TryFrom<Descriptor> for ShortId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ShortId
impl Send for ShortId
impl Sync for ShortId
impl Unpin for ShortId
impl UnwindSafe for ShortId
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> Same<T> for T
type Output = T
Should always be Self
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,