Struct screen_13::driver::DriverConfig
source · [−]pub struct DriverConfig {
pub debug: bool,
pub desired_swapchain_image_count: u32,
pub sync_display: bool,
pub dlss: bool,
pub presentation: bool,
pub ray_tracing: bool,
}Expand description
A list of required features. Features that are supported but not required will not be available.
Fields
debug: booldesired_swapchain_image_count: u32sync_display: booldlss: boolpresentation: boolray_tracing: boolImplementations
sourceimpl DriverConfig
impl DriverConfig
pub fn new() -> DriverConfigBuilder
Trait Implementations
sourceimpl Clone for DriverConfig
impl Clone for DriverConfig
sourcefn clone(&self) -> DriverConfig
fn clone(&self) -> DriverConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DriverConfig
impl Debug for DriverConfig
sourceimpl Hash for DriverConfig
impl Hash for DriverConfig
sourceimpl PartialEq<DriverConfig> for DriverConfig
impl PartialEq<DriverConfig> for DriverConfig
sourcefn eq(&self, other: &DriverConfig) -> bool
fn eq(&self, other: &DriverConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DriverConfig) -> bool
fn ne(&self, other: &DriverConfig) -> bool
This method tests for !=.
impl Copy for DriverConfig
impl Eq for DriverConfig
impl StructuralEq for DriverConfig
impl StructuralPartialEq for DriverConfig
Auto Trait Implementations
impl RefUnwindSafe for DriverConfig
impl Send for DriverConfig
impl Sync for DriverConfig
impl Unpin for DriverConfig
impl UnwindSafe for DriverConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more