Struct wallet::Slice32 [−][src]
pub struct Slice32(_);
Wrapper type for all slice-based 256-bit types implementing many important traits, so types based on it can simply derive their implementations
Implementations
Trait Implementations
impl BorrowMut<<Slice32 as Wrapper>::Inner> for Slice32
[src]
impl BorrowMut<<Slice32 as Wrapper>::Inner> for Slice32
[src]fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl From<HashPreimage> for Slice32
[src]
impl From<HashPreimage> for Slice32
[src]fn from(wrapped: HashPreimage) -> Self
[src]
impl FromHex for Slice32
[src]
impl FromHex for Slice32
[src]fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
pub fn from_hex(s: &str) -> Result<Self, Error>
impl PartialOrd<Slice32> for Slice32
[src]
impl PartialOrd<Slice32> for Slice32
[src]impl StrictDecode for Slice32
[src]
impl StrictDecode for Slice32
[src]impl StrictEncode for Slice32
[src]
impl StrictEncode for Slice32
[src]impl StructuralEq for Slice32
[src]
impl StructuralEq for Slice32
[src]impl StructuralPartialEq for Slice32
[src]
impl StructuralPartialEq for Slice32
[src]impl Wrapper for Slice32
[src]
impl Wrapper for Slice32
[src]type Inner = [u8; 32]
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 Slice32
impl RefUnwindSafe for Slice32
impl UnwindSafe for Slice32
impl UnwindSafe for Slice32