pub struct Typelib(/* private fields */);
Expand description
TODO
Implementations§
Source§impl Typelib
impl Typelib
pub fn new_from_bytes(memory: &[u8]) -> Result<Self, Error>
pub fn new_from_mapped_file(mfile: *mut GMappedFile) -> Result<Self, Error>
pub fn namespace(&self) -> Option<GString>
pub unsafe fn load_symbol(&self, symbol_name: &str) -> Option<*mut c_void>
pub fn data(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl FromGlibPtrFull<*mut *mut _GITypelib> for Typelib
impl FromGlibPtrFull<*mut *mut _GITypelib> for Typelib
Source§impl FromGlibPtrNone<*mut *mut _GITypelib> for Typelib
impl FromGlibPtrNone<*mut *mut _GITypelib> for Typelib
Auto Trait Implementations§
impl Freeze for Typelib
impl RefUnwindSafe for Typelib
impl !Send for Typelib
impl !Sync for Typelib
impl Unpin for Typelib
impl UnwindSafe for Typelib
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