pub struct RealityEngineAccessor { /* private fields */ }Expand description
Implementation of RealityAccessor for RealityEngine
Implementations§
Source§impl RealityEngineAccessor
impl RealityEngineAccessor
Sourcepub fn new(engine: Arc<RwLock<RealityEngine>>) -> Self
pub fn new(engine: Arc<RwLock<RealityEngine>>) -> Self
Create a new reality engine accessor
Trait Implementations§
Source§impl RealityAccessor for RealityEngineAccessor
impl RealityAccessor for RealityEngineAccessor
Source§fn get_level<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<RealityLevel>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_level<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<RealityLevel>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get current reality level
Source§fn get_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<RealityConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<RealityConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get reality configuration
Auto Trait Implementations§
impl Freeze for RealityEngineAccessor
impl !RefUnwindSafe for RealityEngineAccessor
impl Send for RealityEngineAccessor
impl Sync for RealityEngineAccessor
impl Unpin for RealityEngineAccessor
impl UnsafeUnpin for RealityEngineAccessor
impl !UnwindSafe for RealityEngineAccessor
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