pub struct DataPtr<T: Sized> { /* private fields */ }
Expand description
Container type for MrbData
Implementations§
source§impl<T: Sized> DataPtr<T>
impl<T: Sized> DataPtr<T>
pub fn minu_value(&self) -> minu_value
pub fn mrb(&self) -> *mut minu_state
Trait Implementations§
source§impl<T: MrbData> TryFromMrb for DataPtr<T>
impl<T: MrbData> TryFromMrb for DataPtr<T>
fn try_from_mrb(value: MrbValue) -> MrbResult<Self>
Auto Trait Implementations§
impl<T> RefUnwindSafe for DataPtr<T>where
T: RefUnwindSafe,
impl<T> !Send for DataPtr<T>
impl<T> !Sync for DataPtr<T>
impl<T> Unpin for DataPtr<T>
impl<T> UnwindSafe for DataPtr<T>where
T: RefUnwindSafe,
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