pub struct InstanceDesc<'a> {
pub app_name: &'a str,
pub validate: bool,
}Expand description
Instance::with
Fields§
§app_name: &'a strthe application’s name for the driver
validate: boolthe validation layer (as jfgui_GPU_VALIDATE=1)
Implementations§
Source§impl InstanceDesc<'_>
impl InstanceDesc<'_>
pub const DEFAULT: InstanceDesc<'static>
Trait Implementations§
Source§impl<'a> Clone for InstanceDesc<'a>
impl<'a> Clone for InstanceDesc<'a>
impl<'a> Copy for InstanceDesc<'a>
Auto Trait Implementations§
impl<'a> Forget for InstanceDesc<'a>
impl<'a> Freeze for InstanceDesc<'a>
impl<'a> RefUnwindSafe for InstanceDesc<'a>
impl<'a> Send for InstanceDesc<'a>
impl<'a> Sync for InstanceDesc<'a>
impl<'a> Unpin for InstanceDesc<'a>
impl<'a> UnsafeUnpin for InstanceDesc<'a>
impl<'a> UnwindSafe for InstanceDesc<'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