Struct aws_sdk_ec2::types::builders::GpuDeviceInfoBuilder
source · #[non_exhaustive]pub struct GpuDeviceInfoBuilder { /* private fields */ }
Expand description
A builder for GpuDeviceInfo
.
Implementations§
source§impl GpuDeviceInfoBuilder
impl GpuDeviceInfoBuilder
sourcepub fn manufacturer(self, input: impl Into<String>) -> Self
pub fn manufacturer(self, input: impl Into<String>) -> Self
The manufacturer of the GPU accelerator.
sourcepub fn set_manufacturer(self, input: Option<String>) -> Self
pub fn set_manufacturer(self, input: Option<String>) -> Self
The manufacturer of the GPU accelerator.
sourcepub fn get_manufacturer(&self) -> &Option<String>
pub fn get_manufacturer(&self) -> &Option<String>
The manufacturer of the GPU accelerator.
sourcepub fn memory_info(self, input: GpuDeviceMemoryInfo) -> Self
pub fn memory_info(self, input: GpuDeviceMemoryInfo) -> Self
Describes the memory available to the GPU accelerator.
sourcepub fn set_memory_info(self, input: Option<GpuDeviceMemoryInfo>) -> Self
pub fn set_memory_info(self, input: Option<GpuDeviceMemoryInfo>) -> Self
Describes the memory available to the GPU accelerator.
sourcepub fn get_memory_info(&self) -> &Option<GpuDeviceMemoryInfo>
pub fn get_memory_info(&self) -> &Option<GpuDeviceMemoryInfo>
Describes the memory available to the GPU accelerator.
sourcepub fn build(self) -> GpuDeviceInfo
pub fn build(self) -> GpuDeviceInfo
Consumes the builder and constructs a GpuDeviceInfo
.
Trait Implementations§
source§impl Clone for GpuDeviceInfoBuilder
impl Clone for GpuDeviceInfoBuilder
source§fn clone(&self) -> GpuDeviceInfoBuilder
fn clone(&self) -> GpuDeviceInfoBuilder
Returns a copy 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 Debug for GpuDeviceInfoBuilder
impl Debug for GpuDeviceInfoBuilder
source§impl Default for GpuDeviceInfoBuilder
impl Default for GpuDeviceInfoBuilder
source§fn default() -> GpuDeviceInfoBuilder
fn default() -> GpuDeviceInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GpuDeviceInfoBuilder
impl PartialEq for GpuDeviceInfoBuilder
source§fn eq(&self, other: &GpuDeviceInfoBuilder) -> bool
fn eq(&self, other: &GpuDeviceInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GpuDeviceInfoBuilder
Auto Trait Implementations§
impl Freeze for GpuDeviceInfoBuilder
impl RefUnwindSafe for GpuDeviceInfoBuilder
impl Send for GpuDeviceInfoBuilder
impl Sync for GpuDeviceInfoBuilder
impl Unpin for GpuDeviceInfoBuilder
impl UnwindSafe for GpuDeviceInfoBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.