pub struct Env {
pub library: Library,
pub config: Config,
pub namespaces: Info,
pub symbols: RefCell<Info>,
pub class_hierarchy: Info,
pub analysis: Analysis,
}
Fields§
§library: Library
§config: Config
§namespaces: Info
§symbols: RefCell<Info>
§class_hierarchy: Info
§analysis: Analysis
Implementations§
source§impl Env
impl Env
pub fn type_(&self, tid: TypeId) -> &Type
pub fn type_status(&self, name: &str) -> GStatus
pub fn type_status_sys(&self, name: &str) -> GStatus
pub fn is_totally_deprecated( &self, ns_id: Option<NsId>, deprecated_version: Option<Version>, ) -> bool
pub fn is_too_low_version( &self, ns_id: Option<NsId>, version: Option<Version>, ) -> bool
pub fn main_sys_crate_name(&self) -> &str
sourcepub fn sys_crate_import(&self, type_id: TypeId) -> String
pub fn sys_crate_import(&self, type_id: TypeId) -> String
Helper to get the ffi crate import
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Env
impl !RefUnwindSafe for Env
impl Send for Env
impl !Sync for Env
impl Unpin for Env
impl UnwindSafe for Env
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