pub struct GpuInfoBuilder { /* private fields */ }Implementations§
Source§impl GpuInfoBuilder
impl GpuInfoBuilder
pub fn device(self, device: impl Into<GpuDevice>) -> Self
pub fn devices<I, S>(self, devices: I) -> Self
pub fn aux_attributes(self, aux_attributes: impl Into<Value>) -> Self
pub fn feature_status(self, feature_status: impl Into<Value>) -> Self
pub fn driver_bug_workaround( self, driver_bug_workaround: impl Into<String>, ) -> Self
pub fn driver_bug_workarounds<I, S>(self, driver_bug_workarounds: I) -> Self
pub fn video_decoding( self, video_decoding: impl Into<VideoDecodeAcceleratorCapability>, ) -> Self
pub fn video_decodings<I, S>(self, video_decodings: I) -> Self
pub fn video_encoding( self, video_encoding: impl Into<VideoEncodeAcceleratorCapability>, ) -> Self
pub fn video_encodings<I, S>(self, video_encodings: I) -> Self
pub fn image_decoding( self, image_decoding: impl Into<ImageDecodeAcceleratorCapability>, ) -> Self
pub fn image_decodings<I, S>(self, image_decodings: I) -> Self
pub fn build(self) -> Result<GpuInfo, String>
Trait Implementations§
Source§impl Clone for GpuInfoBuilder
impl Clone for GpuInfoBuilder
Source§fn clone(&self) -> GpuInfoBuilder
fn clone(&self) -> GpuInfoBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GpuInfoBuilder
impl Default for GpuInfoBuilder
Source§fn default() -> GpuInfoBuilder
fn default() -> GpuInfoBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GpuInfoBuilder
impl RefUnwindSafe for GpuInfoBuilder
impl Send for GpuInfoBuilder
impl Sync for GpuInfoBuilder
impl Unpin for GpuInfoBuilder
impl UnwindSafe for GpuInfoBuilder
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