pub struct Option { /* private fields */ }
Implementations
sourceimpl Option
impl Option
pub fn new() -> Option
pub fn set_num_threads(&mut self, num_threads: u32)
pub fn get_num_threads(&self) -> u32
pub fn set_vulkan_compute(&mut self, enabled: bool)
pub fn get_vulkan_compute(&self) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Option
impl !Send for Option
impl !Sync for Option
impl Unpin for Option
impl UnwindSafe for Option
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more