#[repr(C)]pub struct llama_perf_sampler_data {
pub t_sample_ms: f64,
pub n_sample: i32,
}
Fields§
§t_sample_ms: f64
§n_sample: i32
Trait Implementations§
Source§impl Clone for llama_perf_sampler_data
impl Clone for llama_perf_sampler_data
Source§fn clone(&self) -> llama_perf_sampler_data
fn clone(&self) -> llama_perf_sampler_data
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 llama_perf_sampler_data
impl Debug for llama_perf_sampler_data
Source§impl PartialEq for llama_perf_sampler_data
impl PartialEq for llama_perf_sampler_data
impl Copy for llama_perf_sampler_data
impl StructuralPartialEq for llama_perf_sampler_data
Auto Trait Implementations§
impl Freeze for llama_perf_sampler_data
impl RefUnwindSafe for llama_perf_sampler_data
impl Send for llama_perf_sampler_data
impl Sync for llama_perf_sampler_data
impl Unpin for llama_perf_sampler_data
impl UnwindSafe for llama_perf_sampler_data
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