#[repr(C)]pub struct StringRepositoryApi {
pub create: Option<unsafe extern "C" fn(a: *mut AllocatorI) -> *mut StringRepositoryI>,
pub destroy: Option<unsafe extern "C" fn(i: *mut StringRepositoryI)>,
}
Fields§
§create: Option<unsafe extern "C" fn(a: *mut AllocatorI) -> *mut StringRepositoryI>
§destroy: Option<unsafe extern "C" fn(i: *mut StringRepositoryI)>
Implementations§
Source§impl StringRepositoryApi
impl StringRepositoryApi
pub unsafe fn create(&self, a: *mut AllocatorI) -> *mut StringRepositoryI
pub unsafe fn destroy(&self, i: *mut StringRepositoryI)
Trait Implementations§
Source§impl Clone for StringRepositoryApi
impl Clone for StringRepositoryApi
Source§fn clone(&self) -> StringRepositoryApi
fn clone(&self) -> StringRepositoryApi
Returns a duplicate 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 StringRepositoryApi
impl Default for StringRepositoryApi
Source§fn default() -> StringRepositoryApi
fn default() -> StringRepositoryApi
Returns the “default value” for a type. Read more
impl Copy for StringRepositoryApi
Auto Trait Implementations§
impl Freeze for StringRepositoryApi
impl RefUnwindSafe for StringRepositoryApi
impl Send for StringRepositoryApi
impl Sync for StringRepositoryApi
impl Unpin for StringRepositoryApi
impl UnwindSafe for StringRepositoryApi
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