Struct aws_sdk_ec2::types::GpuDeviceInfo
source · #[non_exhaustive]pub struct GpuDeviceInfo { /* private fields */ }
Expand description
Describes the GPU accelerators for the instance type.
Implementations§
source§impl GpuDeviceInfo
impl GpuDeviceInfo
sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
The manufacturer of the GPU accelerator.
sourcepub fn memory_info(&self) -> Option<&GpuDeviceMemoryInfo>
pub fn memory_info(&self) -> Option<&GpuDeviceMemoryInfo>
Describes the memory available to the GPU accelerator.
source§impl GpuDeviceInfo
impl GpuDeviceInfo
sourcepub fn builder() -> GpuDeviceInfoBuilder
pub fn builder() -> GpuDeviceInfoBuilder
Creates a new builder-style object to manufacture GpuDeviceInfo
.
Trait Implementations§
source§impl Clone for GpuDeviceInfo
impl Clone for GpuDeviceInfo
source§fn clone(&self) -> GpuDeviceInfo
fn clone(&self) -> GpuDeviceInfo
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 GpuDeviceInfo
impl Debug for GpuDeviceInfo
source§impl PartialEq<GpuDeviceInfo> for GpuDeviceInfo
impl PartialEq<GpuDeviceInfo> for GpuDeviceInfo
source§fn eq(&self, other: &GpuDeviceInfo) -> bool
fn eq(&self, other: &GpuDeviceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GpuDeviceInfo
Auto Trait Implementations§
impl RefUnwindSafe for GpuDeviceInfo
impl Send for GpuDeviceInfo
impl Sync for GpuDeviceInfo
impl Unpin for GpuDeviceInfo
impl UnwindSafe for GpuDeviceInfo
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