#[repr(C)]pub struct llama_sampler {
pub iface: *mut llama_sampler_i,
pub ctx: llama_sampler_context_t,
}
Fields§
§iface: *mut llama_sampler_i
§ctx: llama_sampler_context_t
Trait Implementations§
Source§impl Clone for llama_sampler
impl Clone for llama_sampler
Source§fn clone(&self) -> llama_sampler
fn clone(&self) -> llama_sampler
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_sampler
impl Debug for llama_sampler
Source§impl PartialEq for llama_sampler
impl PartialEq for llama_sampler
impl Copy for llama_sampler
impl StructuralPartialEq for llama_sampler
Auto Trait Implementations§
impl Freeze for llama_sampler
impl RefUnwindSafe for llama_sampler
impl !Send for llama_sampler
impl !Sync for llama_sampler
impl Unpin for llama_sampler
impl UnwindSafe for llama_sampler
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