[−][src]Struct jimage_sys::Library
jimage.dll fns / entry points. See jimage.hpp for more details
Fields
JIMAGE_Open: unsafe extern "C" fn(name: *const c_char, error: *mut jint) -> *mut JImageFile
JIMAGE_Close: unsafe extern "C" fn(image: *mut JImageFile)
JIMAGE_PackageToModule: unsafe extern "C" fn(image: *mut JImageFile, package_name: *const c_char) -> *const c_char
JIMAGE_FindResource: unsafe extern "C" fn(image: *mut JImageFile, module_name: *const c_char, version: *const c_char, name: *const c_char, size: *mut jlong) -> JImageLocationRef
JIMAGE_GetResource: unsafe extern "C" fn(image: *mut JImageFile, location: JImageLocationRef, buffer: *mut c_char, size: jlong) -> jlong
JIMAGE_ResourceIterator: unsafe extern "C" fn(image: *mut JImageFile, visitor: JImageResourceVisitor, arg: *mut c_void)
Methods
impl Library
[src]
pub fn load(path: &Path) -> Result<Self>
[src]
Load a given libjimage.so or jimage.dll path.
pub fn from(lib: Library) -> Result<Self>
[src]
Load symbols from an already loaded DLL or SO file.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,