#[repr(transparent)]pub struct Bits256(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
Source§impl<'a> Verifiable for Bits256
impl<'a> Verifiable for Bits256
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for Bits256
impl SimpleToVerifyInSlice for Bits256
impl StructuralPartialEq for Bits256
Auto Trait Implementations§
impl Freeze for Bits256
impl RefUnwindSafe for Bits256
impl Send for Bits256
impl Sync for Bits256
impl Unpin for Bits256
impl UnwindSafe for Bits256
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