#[repr(C, align(8))]pub struct SoServerInterface {Show 17 fields
pub dumpServer: unsafe extern "C" fn(hServer: SoHServer) -> c_long,
pub dumpObject: unsafe extern "C" fn(hObject: SoHObject) -> c_long,
pub addClass: unsafe extern "C" fn(hServer: SoHServer, name: *mut c_char, objectInterface: *mut SoObjectInterface) -> c_long,
pub addMethod: unsafe extern "C" fn(hObject: SoHObject, name: *const c_char, id: i32, desc: *mut c_char) -> c_long,
pub addMethods: unsafe extern "C" fn(hObject: SoHObject, pNames: *mut SoCClientName) -> c_long,
pub addProperty: unsafe extern "C" fn(hObject: SoHObject, name: *const c_char, id: i32, desc: *mut c_char) -> c_long,
pub addProperties: unsafe extern "C" fn(hObject: SoHObject, pNames: *mut SoCClientName) -> c_long,
pub getClass: unsafe extern "C" fn(hObject: SoHObject, name: *mut c_char, name_l: i32) -> c_long,
pub getServer: unsafe extern "C" fn(hObject: SoHObject, phServer: *mut SoHServer, ppServerInterface: *mut *mut SoServerInterface) -> c_long,
pub setClientData: unsafe extern "C" fn(hObject: SoHObject, pClientData: *mut c_void) -> c_long,
pub getClientData: unsafe extern "C" fn(hObject: SoHObject, ppClientData: *mut *mut c_void) -> c_long,
pub eval: unsafe extern "C" fn(hServer: SoHServer, string: *mut c_char, pTaggedData: *mut TaggedData) -> c_long,
pub taggedDataInit: unsafe extern "C" fn(hServer: SoHServer, pTaggedData: *mut TaggedData) -> c_long,
pub taggedDataFree: unsafe extern "C" fn(hServer: SoHServer, pTaggedData: *mut TaggedData) -> c_long,
pub callLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, argc: i32, argv: *mut TaggedData, pResult: *mut TaggedData) -> c_long,
pub getLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, pResult: *mut TaggedData) -> c_long,
pub putLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, pValue: *mut TaggedData) -> c_long,
}Fields§
§dumpServer: unsafe extern "C" fn(hServer: SoHServer) -> c_long§dumpObject: unsafe extern "C" fn(hObject: SoHObject) -> c_long§addClass: unsafe extern "C" fn(hServer: SoHServer, name: *mut c_char, objectInterface: *mut SoObjectInterface) -> c_long§addMethod: unsafe extern "C" fn(hObject: SoHObject, name: *const c_char, id: i32, desc: *mut c_char) -> c_long§addMethods: unsafe extern "C" fn(hObject: SoHObject, pNames: *mut SoCClientName) -> c_long§addProperty: unsafe extern "C" fn(hObject: SoHObject, name: *const c_char, id: i32, desc: *mut c_char) -> c_long§addProperties: unsafe extern "C" fn(hObject: SoHObject, pNames: *mut SoCClientName) -> c_long§getClass: unsafe extern "C" fn(hObject: SoHObject, name: *mut c_char, name_l: i32) -> c_long§getServer: unsafe extern "C" fn(hObject: SoHObject, phServer: *mut SoHServer, ppServerInterface: *mut *mut SoServerInterface) -> c_long§setClientData: unsafe extern "C" fn(hObject: SoHObject, pClientData: *mut c_void) -> c_long§getClientData: unsafe extern "C" fn(hObject: SoHObject, ppClientData: *mut *mut c_void) -> c_long§eval: unsafe extern "C" fn(hServer: SoHServer, string: *mut c_char, pTaggedData: *mut TaggedData) -> c_long§taggedDataInit: unsafe extern "C" fn(hServer: SoHServer, pTaggedData: *mut TaggedData) -> c_long§taggedDataFree: unsafe extern "C" fn(hServer: SoHServer, pTaggedData: *mut TaggedData) -> c_long§callLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, argc: i32, argv: *mut TaggedData, pResult: *mut TaggedData) -> c_long§getLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, pResult: *mut TaggedData) -> c_long§putLiveObject: unsafe extern "C" fn(hServer: SoHServer, hObject: SoHObject, method: *mut c_char, pValue: *mut TaggedData) -> c_longTrait Implementations§
Source§impl Clone for SoServerInterface
impl Clone for SoServerInterface
Source§fn clone(&self) -> SoServerInterface
fn clone(&self) -> SoServerInterface
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 moreimpl Copy for SoServerInterface
Auto Trait Implementations§
impl Freeze for SoServerInterface
impl RefUnwindSafe for SoServerInterface
impl Send for SoServerInterface
impl Sync for SoServerInterface
impl Unpin for SoServerInterface
impl UnsafeUnpin for SoServerInterface
impl UnwindSafe for SoServerInterface
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