Struct evm_coder::types::BytesFixed
source · pub struct BytesFixed<const S: usize>(pub [u8; S]);
Tuple Fields§
§0: [u8; S]
Trait Implementations§
source§impl<const S: usize> AbiDecode for BytesFixed<S>
impl<const S: usize> AbiDecode for BytesFixed<S>
source§impl<const S: usize> AbiEncode for BytesFixed<S>
impl<const S: usize> AbiEncode for BytesFixed<S>
fn enc(&self, out: &mut AbiEncoder)
fn abi_encode(&self) -> Vec<u8>
fn abi_encode_call(&self, selector: Bytes4) -> Vec<u8>
source§impl<const S: usize> AbiType for BytesFixed<S>
impl<const S: usize> AbiType for BytesFixed<S>
source§impl<const S: usize> Clone for BytesFixed<S>
impl<const S: usize> Clone for BytesFixed<S>
source§fn clone(&self) -> BytesFixed<S>
fn clone(&self) -> BytesFixed<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const S: usize> Debug for BytesFixed<S>
impl<const S: usize> Debug for BytesFixed<S>
source§impl<const S: usize> Default for BytesFixed<S>
impl<const S: usize> Default for BytesFixed<S>
source§impl<const S: usize> PartialEq<BytesFixed<S>> for BytesFixed<S>
impl<const S: usize> PartialEq<BytesFixed<S>> for BytesFixed<S>
source§fn eq(&self, other: &BytesFixed<S>) -> bool
fn eq(&self, other: &BytesFixed<S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<const S: usize> Copy for BytesFixed<S>
impl<const S: usize> Eq for BytesFixed<S>
impl<const S: usize> StructuralEq for BytesFixed<S>
impl<const S: usize> StructuralPartialEq for BytesFixed<S>
Auto Trait Implementations§
impl<const S: usize> RefUnwindSafe for BytesFixed<S>
impl<const S: usize> Send for BytesFixed<S>
impl<const S: usize> Sync for BytesFixed<S>
impl<const S: usize> Unpin for BytesFixed<S>
impl<const S: usize> UnwindSafe for BytesFixed<S>
Blanket Implementations§
source§impl<T> AbiEncodeZero for Twhere
T: Default + AbiEncode,
impl<T> AbiEncodeZero for Twhere T: Default + AbiEncode,
fn enc_zero(out: &mut AbiEncoder)
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