Struct fuels_core::abi_encoder::UnresolvedBytes
source · pub struct UnresolvedBytes { /* private fields */ }
Implementations
sourceimpl UnresolvedBytes
impl UnresolvedBytes
pub fn new() -> Self
sourcepub fn resolve(&self, start_addr: u64) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
pub fn resolve(&self, start_addr: u64) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Uses the start_addr
to resolve any pointers contained within. Once
they are resolved the raw bytes are returned.
Arguments
start_addr
: The address at which the encoded bytes are to be loaded in.
Trait Implementations
sourceimpl Clone for UnresolvedBytes
impl Clone for UnresolvedBytes
sourcefn clone(&self) -> UnresolvedBytes
fn clone(&self) -> UnresolvedBytes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UnresolvedBytes
impl Debug for UnresolvedBytes
sourceimpl Default for UnresolvedBytes
impl Default for UnresolvedBytes
sourcefn default() -> UnresolvedBytes
fn default() -> UnresolvedBytes
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnresolvedBytes
impl Send for UnresolvedBytes
impl Sync for UnresolvedBytes
impl Unpin for UnresolvedBytes
impl UnwindSafe for UnresolvedBytes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more