pub struct BackendPerformanceInfo {
pub name: String,
pub memory_bandwidth_gbps: f32,
pub compute_units: usize,
pub memory_size_gb: usize,
pub supports_hnsw: bool,
pub supports_batch: bool,
}
Expand description
Backend performance characteristics
Fields§
§name: String
§memory_bandwidth_gbps: f32
§compute_units: usize
§memory_size_gb: usize
§supports_hnsw: bool
§supports_batch: bool
Trait Implementations§
Source§impl Clone for BackendPerformanceInfo
impl Clone for BackendPerformanceInfo
Source§fn clone(&self) -> BackendPerformanceInfo
fn clone(&self) -> BackendPerformanceInfo
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 moreAuto Trait Implementations§
impl Freeze for BackendPerformanceInfo
impl RefUnwindSafe for BackendPerformanceInfo
impl Send for BackendPerformanceInfo
impl Sync for BackendPerformanceInfo
impl Unpin for BackendPerformanceInfo
impl UnwindSafe for BackendPerformanceInfo
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