Struct soroban_env_guest::MapObject
source · pub struct MapObject(/* private fields */);
Implementations§
source§impl MapObject
impl MapObject
pub const unsafe fn from_handle(handle: u32) -> MapObject
pub const fn get_handle(&self) -> u32
Trait Implementations§
source§impl CheckedEnvArg for MapObject
impl CheckedEnvArg for MapObject
source§impl<E> TryFromVal<E, MapObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, MapObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &MapObject ) -> Result<Val, <Val as TryFromVal<E, MapObject>>::Error>
source§impl<E> TryFromVal<E, Val> for MapObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for MapObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<MapObject, <MapObject as TryFromVal<E, Val>>::Error>
impl Copy for MapObject
Auto Trait Implementations§
impl RefUnwindSafe for MapObject
impl Send for MapObject
impl Sync for MapObject
impl Unpin for MapObject
impl UnwindSafe for MapObject
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