#[repr(C)]pub struct StringCallbackState { /* private fields */ }
Implementations§
Source§impl StringCallbackState
impl StringCallbackState
pub fn new() -> Self
pub fn from_ptr(p: *mut c_void) -> *mut Self
pub fn as_void_ptr(&self) -> *const c_void
pub fn as_void_mut_ptr(&mut self) -> *mut c_void
pub fn get_data(&self) -> &[u8] ⓘ
pub fn get_data_mut(&mut self) -> &mut [u8] ⓘ
pub fn num_bytes_written(&self) -> usize
pub fn num_bytes_written_mut(&mut self) -> &mut usize
pub fn reset(&mut self)
Trait Implementations§
Source§impl Clone for StringCallbackState
impl Clone for StringCallbackState
Source§fn clone(&self) -> StringCallbackState
fn clone(&self) -> StringCallbackState
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 Default for StringCallbackState
impl Default for StringCallbackState
Source§impl Display for StringCallbackState
impl Display for StringCallbackState
impl Copy for StringCallbackState
Auto Trait Implementations§
impl Freeze for StringCallbackState
impl RefUnwindSafe for StringCallbackState
impl Send for StringCallbackState
impl Sync for StringCallbackState
impl Unpin for StringCallbackState
impl UnwindSafe for StringCallbackState
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