Struct oxygengine::prelude::intuicio::data::prelude::DataStackRegisterAccess
pub struct DataStackRegisterAccess<'a> { /* private fields */ }
Implementations§
§impl<'a> DataStackRegisterAccess<'a>
impl<'a> DataStackRegisterAccess<'a>
pub fn type_hash(&self) -> TypeHash
pub fn layout(&self) -> Layout
pub fn type_hash_layout(&self) -> (TypeHash, Layout)
pub fn has_value(&self) -> bool
pub fn read<T>(&'a self) -> Option<&'a T>where T: 'static,
pub fn write<T>(&'a mut self) -> Option<&'a mut T>where T: 'static,
pub fn take<T>(&mut self) -> Option<T>where T: 'static,
pub fn free(&mut self) -> bool
pub fn set<T>(&mut self, value: T)where T: Finalize + 'static,
pub fn move_to(&mut self, other: &mut DataStackRegisterAccess<'a>)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DataStackRegisterAccess<'a>
impl<'a> Send for DataStackRegisterAccess<'a>
impl<'a> Sync for DataStackRegisterAccess<'a>
impl<'a> Unpin for DataStackRegisterAccess<'a>
impl<'a> !UnwindSafe for DataStackRegisterAccess<'a>
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