pub struct BackendImpl { /* private fields */ }Expand description
RendererBackend::Impl
Implementations§
Source§impl BackendImpl
impl BackendImpl
pub fn set_instance(&self, instance: Option<Instance>)
pub fn set_adapter(&self, adapter: Option<Adapter>)
pub fn set_device(&self, device: Option<Device>)
pub fn set_queue(&self, queue: Option<Queue>)
pub fn get_instance(&self) -> Option<Instance>
pub fn get_adapter(&self) -> Option<Adapter>
pub fn get_device(&self) -> Option<Device>
pub fn get_queue(&self) -> Option<Queue>
pub fn set_depth_stencil_format(&self, format: Option<TextureFormat>)
pub fn get_depth_stencil_format(&self) -> Option<TextureFormat>
pub fn set_color_format(&self, format: Option<TextureFormat>)
pub fn get_color_format(&self) -> Option<TextureFormat>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BackendImpl
impl !RefUnwindSafe for BackendImpl
impl !Sync for BackendImpl
impl !UnwindSafe for BackendImpl
impl Forget for BackendImpl
impl Send for BackendImpl
impl Unpin for BackendImpl
impl UnsafeUnpin for BackendImpl
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