pub struct PathPlan {
pub path: &'static str,
pub fits: bool,
pub quant: Option<String>,
pub required_bytes: Option<f64>,
pub usable_bytes: f64,
pub shortfall_bytes: Option<f64>,
pub reason: Option<&'static str>,
pub gpu_count: Option<usize>,
pub throughput: Throughput,
pub throughput_basis: &'static str,
}Fields§
§path: &'static str§fits: bool§quant: Option<String>§required_bytes: Option<f64>§usable_bytes: f64§shortfall_bytes: Option<f64>Extra usable memory needed before the smallest quantization fits.
reason: Option<&'static str>§gpu_count: Option<usize>§throughput: Throughput§throughput_basis: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for PathPlan
impl RefUnwindSafe for PathPlan
impl Send for PathPlan
impl Sync for PathPlan
impl Unpin for PathPlan
impl UnsafeUnpin for PathPlan
impl UnwindSafe for PathPlan
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