Struct altv_internal_mvalue::ConstMValue
source · pub struct ConstMValue(_);
Implementations§
source§impl ConstMValue
impl ConstMValue
pub fn new(ptr: UniquePtr<ConstMValueWrapper>) -> Self
pub fn get(&self) -> &UniquePtr<ConstMValueWrapper>
pub fn deserialize<V: DeserializeOwned>(&self) -> Result<V>
Trait Implementations§
source§impl Clone for ConstMValue
impl Clone for ConstMValue
source§impl Debug for ConstMValue
impl Debug for ConstMValue
source§impl From<&ConstMValueWrapper> for ConstMValue
impl From<&ConstMValueWrapper> for ConstMValue
source§fn from(value: &ConstMValueWrapper) -> Self
fn from(value: &ConstMValueWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ConstMValue
impl !Send for ConstMValue
impl !Sync for ConstMValue
impl Unpin for ConstMValue
impl UnwindSafe for ConstMValue
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