pub struct ContractObjWrapper<CB: ContractBase<Api = DebugApi> + CallableContract + 'static, ContractObjBuilder: 'static + Copy + Fn() -> CB> { /* private fields */ }
Implementations§
Source§impl<CB, ContractObjBuilder> ContractObjWrapper<CB, ContractObjBuilder>where
CB: ContractBase<Api = DebugApi> + CallableContract + 'static,
ContractObjBuilder: 'static + Copy + Fn() -> CB,
impl<CB, ContractObjBuilder> ContractObjWrapper<CB, ContractObjBuilder>where
CB: ContractBase<Api = DebugApi> + CallableContract + 'static,
ContractObjBuilder: 'static + Copy + Fn() -> CB,
pub fn address_ref(&self) -> &Address
Trait Implementations§
Source§impl<CB: Clone + ContractBase<Api = DebugApi> + CallableContract + 'static, ContractObjBuilder: Clone + 'static + Copy + Fn() -> CB> Clone for ContractObjWrapper<CB, ContractObjBuilder>
impl<CB: Clone + ContractBase<Api = DebugApi> + CallableContract + 'static, ContractObjBuilder: Clone + 'static + Copy + Fn() -> CB> Clone for ContractObjWrapper<CB, ContractObjBuilder>
Source§fn clone(&self) -> ContractObjWrapper<CB, ContractObjBuilder>
fn clone(&self) -> ContractObjWrapper<CB, ContractObjBuilder>
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 moreAuto Trait Implementations§
impl<CB, ContractObjBuilder> Freeze for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: Freeze,
impl<CB, ContractObjBuilder> RefUnwindSafe for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: RefUnwindSafe,
impl<CB, ContractObjBuilder> Send for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: Send,
impl<CB, ContractObjBuilder> Sync for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: Sync,
impl<CB, ContractObjBuilder> Unpin for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: Unpin,
impl<CB, ContractObjBuilder> UnwindSafe for ContractObjWrapper<CB, ContractObjBuilder>where
ContractObjBuilder: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more