Struct webxr_api::layer::LayerGrandManager
source · pub struct LayerGrandManager<GL>(Box<dyn Send + LayerGrandManagerAPI<GL>>);
Tuple Fields§
§0: Box<dyn Send + LayerGrandManagerAPI<GL>>
Implementations§
source§impl<GL: GLTypes> LayerGrandManager<GL>
impl<GL: GLTypes> LayerGrandManager<GL>
pub fn new<GM>(grand_manager: GM) -> LayerGrandManager<GL>where
GM: 'static + Send + LayerGrandManagerAPI<GL>,
pub fn create_layer_manager<F, M>(
&self,
factory: F,
) -> Result<LayerManager, Error>where
F: 'static + Send + FnOnce(&mut GL::Device, &mut dyn GLContexts<GL>) -> Result<M, Error>,
M: 'static + LayerManagerAPI<GL>,
Trait Implementations§
source§impl<GL: GLTypes> Clone for LayerGrandManager<GL>
impl<GL: GLTypes> Clone for LayerGrandManager<GL>
Auto Trait Implementations§
impl<GL> Freeze for LayerGrandManager<GL>
impl<GL> !RefUnwindSafe for LayerGrandManager<GL>
impl<GL> Send for LayerGrandManager<GL>
impl<GL> !Sync for LayerGrandManager<GL>
impl<GL> Unpin for LayerGrandManager<GL>
impl<GL> !UnwindSafe for LayerGrandManager<GL>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)