Struct rgb::prelude::AnchorId [−][src]
Unique anchor identifier equivalent to the anchor commitment hash
Trait Implementations
impl AsMut<<AnchorId as Wrapper>::Inner> for AnchorId
[src]
impl AsRef<<AnchorId as Wrapper>::Inner> for AnchorId
[src]
impl Borrow<<AnchorId as Wrapper>::Inner> for AnchorId
[src]
impl BorrowMut<<AnchorId as Wrapper>::Inner> for AnchorId
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl Clone for AnchorId
[src]
impl<MSG> CommitVerify<MSG> for AnchorId where
MSG: AsRef<[u8]>,
[src]
MSG: AsRef<[u8]>,
impl Copy for AnchorId
[src]
impl Debug for AnchorId
[src]
impl Default for AnchorId
[src]
impl Deref for AnchorId
[src]
type Target = Self::Inner
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for AnchorId
[src]
impl<'de> Deserialize<'de> for AnchorId
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for AnchorId
[src]
impl Eq for AnchorId
[src]
impl From<Hash<AnchorIdTag>> for AnchorId
[src]
impl Hash for AnchorId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Index<Range<usize>> for AnchorId
[src]
type Output = <Self::Inner as Index<Range<usize>>>::Output
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &Self::Output
[src]
impl Index<RangeFrom<usize>> for AnchorId
[src]
type Output = <Self::Inner as Index<RangeFrom<usize>>>::Output
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &Self::Output
[src]
impl Index<RangeFull> for AnchorId
[src]
type Output = <Self::Inner as Index<RangeFull>>::Output
The returned type after indexing.
fn index(&self, index: RangeFull) -> &Self::Output
[src]
impl Index<RangeTo<usize>> for AnchorId
[src]
type Output = <Self::Inner as Index<RangeTo<usize>>>::Output
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &Self::Output
[src]
impl Index<usize> for AnchorId
[src]
type Output = <Self::Inner as Index<usize>>::Output
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output
[src]
impl LowerHex for AnchorId
[src]
impl Ord for AnchorId
[src]
fn cmp(&self, other: &AnchorId) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<AnchorId> for AnchorId
[src]
impl PartialOrd<AnchorId> for AnchorId
[src]
fn partial_cmp(&self, other: &AnchorId) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for AnchorId
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Strategy for AnchorId
[src]
impl StructuralEq for AnchorId
[src]
impl StructuralPartialEq for AnchorId
[src]
impl Wrapper for AnchorId
[src]
type Inner = Hash<AnchorIdTag>
Inner type wrapped by the current newtype
fn from_inner(inner: Self::Inner) -> Self
[src]
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]
pub fn to_inner(&self) -> Self::Inner
[src]
pub fn copy(&self) -> Self where
Self::Inner: Copy,
[src]
Self::Inner: Copy,
Auto Trait Implementations
impl RefUnwindSafe for AnchorId
impl Send for AnchorId
impl Sync for AnchorId
impl Unpin for AnchorId
impl UnwindSafe for AnchorId
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, Tag> FromBech32IdStr<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]
T: HashType<Tag>,
Tag: Tag,
pub fn from_bech32_id_str(s: &str) -> Result<T, Error>
[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<'a, U, T> TaggedHash<'a, T> for U where
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
[src]
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
pub fn hash(msg: impl AsRef<[u8]>) -> Self
[src]
pub fn from_hash<X>(hash: X) -> Self where
X: Hash<Inner = [u8; 32]>,
[src]
X: Hash<Inner = [u8; 32]>,
pub fn as_slice(&'a self) -> &'a [u8; 32]
[src]
pub fn from_hex(hex: &str) -> Result<Self, Error>
[src]
impl<T, Tag> ToBech32IdString<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]
T: HashType<Tag>,
Tag: Tag,
pub fn to_bech32_id_string(&self) -> String
[src]
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
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>,