pub struct Bytes(pub Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl AbiEncode for Bytes
impl AbiEncode for Bytes
fn enc(&self, out: &mut AbiEncoder)
fn abi_encode(&self) -> Vec<u8>
fn abi_encode_call(&self, selector: Bytes4) -> Vec<u8>
source§impl PartialEq<Bytes> for Bytes
impl PartialEq<Bytes> for Bytes
impl Eq for Bytes
impl StructuralEq for Bytes
impl StructuralPartialEq for Bytes
Auto Trait Implementations§
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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