#[repr(C)]pub struct OrtApiBase {
pub GetApi: Option<unsafe extern "C" fn(version: u32) -> *const OrtApi>,
pub GetVersionString: Option<unsafe extern "C" fn() -> *const c_char>,
}
Fields§
§GetApi: Option<unsafe extern "C" fn(version: u32) -> *const OrtApi>
§GetVersionString: Option<unsafe extern "C" fn() -> *const c_char>
Trait Implementations§
Source§impl Clone for OrtApiBase
impl Clone for OrtApiBase
Source§fn clone(&self) -> OrtApiBase
fn clone(&self) -> OrtApiBase
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 OrtApiBase
impl Debug for OrtApiBase
impl Copy for OrtApiBase
Auto Trait Implementations§
impl Freeze for OrtApiBase
impl RefUnwindSafe for OrtApiBase
impl Send for OrtApiBase
impl Sync for OrtApiBase
impl Unpin for OrtApiBase
impl UnwindSafe for OrtApiBase
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