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, 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 Freeze for MapObject
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