pub struct B256(pub [u8; 32]);Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
impl Copy for B256
Source§impl<'de> Deserialize<'de> for B256
impl<'de> Deserialize<'de> for B256
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for B256
Source§impl Ord for B256
impl Ord for B256
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for B256
impl PartialOrd for B256
impl StructuralPartialEq for B256
Auto Trait Implementations§
impl Freeze for B256
impl RefUnwindSafe for B256
impl Send for B256
impl Sync for B256
impl Unpin for B256
impl UnsafeUnpin for B256
impl UnwindSafe for B256
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