Struct screen_13::driver::DriverConfigBuilder
source · [−]pub struct DriverConfigBuilder { /* private fields */ }Expand description
Builder for DriverConfig.
Implementations
sourceimpl DriverConfigBuilder
impl DriverConfigBuilder
pub fn debug(self, value: bool) -> Self
pub fn desired_swapchain_image_count(self, value: u32) -> Self
pub fn sync_display(self, value: bool) -> Self
pub fn dlss(self, value: bool) -> Self
pub fn presentation(self, value: bool) -> Self
pub fn ray_tracing(self, value: bool) -> Self
sourcepub fn build(self) -> Result<DriverConfig, DriverConfigBuilderError>
pub fn build(self) -> Result<DriverConfig, DriverConfigBuilderError>
Trait Implementations
sourceimpl Debug for DriverConfigBuilder
impl Debug for DriverConfigBuilder
Auto Trait Implementations
impl RefUnwindSafe for DriverConfigBuilder
impl Send for DriverConfigBuilder
impl Sync for DriverConfigBuilder
impl Unpin for DriverConfigBuilder
impl UnwindSafe for DriverConfigBuilder
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<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().