pub struct HardwareRequirements {
pub cpu_architecture: Option<CpuArchitecture>,
pub min_cpu_frequency: Option<f64>,
pub required_instruction_sets: Vec<InstructionSet>,
pub gpu_architecture: Option<GpuArchitecture>,
pub min_gpu_compute_capability: Option<String>,
pub memory_type: Option<MemoryType>,
pub storage_type: Option<StorageType>,
pub network_requirements: NetworkRequirements,
}Expand description
Hardware requirements specification
Fields§
§cpu_architecture: Option<CpuArchitecture>CPU architecture requirement
min_cpu_frequency: Option<f64>Minimum CPU frequency
required_instruction_sets: Vec<InstructionSet>Required instruction sets
gpu_architecture: Option<GpuArchitecture>GPU architecture requirement
min_gpu_compute_capability: Option<String>Minimum GPU compute capability
memory_type: Option<MemoryType>Memory type preference
storage_type: Option<StorageType>Storage type requirement
network_requirements: NetworkRequirementsNetwork requirements
Trait Implementations§
Source§impl Clone for HardwareRequirements
impl Clone for HardwareRequirements
Source§fn clone(&self) -> HardwareRequirements
fn clone(&self) -> HardwareRequirements
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 Debug for HardwareRequirements
impl Debug for HardwareRequirements
Source§impl Default for HardwareRequirements
impl Default for HardwareRequirements
Source§fn default() -> HardwareRequirements
fn default() -> HardwareRequirements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HardwareRequirements
impl RefUnwindSafe for HardwareRequirements
impl Send for HardwareRequirements
impl Sync for HardwareRequirements
impl Unpin for HardwareRequirements
impl UnwindSafe for HardwareRequirements
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more