Enum kas_wgpu::options::ConfigMode [−][src]
pub enum ConfigMode {
Read,
ReadWrite,
WriteDefault,
}
Expand description
Config mode
See Options::from_env
documentation.
Variants
Read-only mode
Read-write mode
This mode reads config on start and writes changes on exit.
Use default config and write out
This mode only writes initial (default) config and does not update.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfigMode
impl Send for ConfigMode
impl Sync for ConfigMode
impl Unpin for ConfigMode
impl UnwindSafe for ConfigMode
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more