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