Struct chromiumoxide::cdp::browser_protocol::system_info::GpuInfoBuilder
source · [−]pub struct GpuInfoBuilder { /* private fields */ }Implementations
sourceimpl GpuInfoBuilder
impl GpuInfoBuilder
pub fn device(self, device: impl Into<GpuDevice>) -> GpuInfoBuilder
pub fn devices<I, S>(self, devices: I) -> GpuInfoBuilderwhere
I: IntoIterator<Item = S>,
S: Into<GpuDevice>,
pub fn aux_attributes(self, aux_attributes: impl Into<Value>) -> GpuInfoBuilder
pub fn feature_status(self, feature_status: impl Into<Value>) -> GpuInfoBuilder
pub fn driver_bug_workaround(
self,
driver_bug_workaround: impl Into<String>
) -> GpuInfoBuilder
pub fn driver_bug_workarounds<I, S>(
self,
driver_bug_workarounds: I
) -> GpuInfoBuilderwhere
I: IntoIterator<Item = S>,
S: Into<String>,
pub fn video_decoding(
self,
video_decoding: impl Into<VideoDecodeAcceleratorCapability>
) -> GpuInfoBuilder
pub fn video_decodings<I, S>(self, video_decodings: I) -> GpuInfoBuilderwhere
I: IntoIterator<Item = S>,
S: Into<VideoDecodeAcceleratorCapability>,
pub fn video_encoding(
self,
video_encoding: impl Into<VideoEncodeAcceleratorCapability>
) -> GpuInfoBuilder
pub fn video_encodings<I, S>(self, video_encodings: I) -> GpuInfoBuilderwhere
I: IntoIterator<Item = S>,
S: Into<VideoEncodeAcceleratorCapability>,
pub fn image_decoding(
self,
image_decoding: impl Into<ImageDecodeAcceleratorCapability>
) -> GpuInfoBuilder
pub fn image_decodings<I, S>(self, image_decodings: I) -> GpuInfoBuilderwhere
I: IntoIterator<Item = S>,
S: Into<ImageDecodeAcceleratorCapability>,
pub fn build(self) -> Result<GpuInfo, String>
Trait Implementations
sourceimpl Clone for GpuInfoBuilder
impl Clone for GpuInfoBuilder
sourcefn clone(&self) -> GpuInfoBuilder
fn clone(&self) -> GpuInfoBuilder
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 moresourceimpl Default for GpuInfoBuilder
impl Default for GpuInfoBuilder
sourcefn default() -> GpuInfoBuilder
fn default() -> GpuInfoBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GpuInfoBuilder
impl Send for GpuInfoBuilder
impl Sync for GpuInfoBuilder
impl Unpin for GpuInfoBuilder
impl UnwindSafe for GpuInfoBuilder
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