pub struct Class {Show 22 fields
pub name: String,
pub c_type: String,
pub symbol_prefix: String,
pub type_struct: Option<String>,
pub c_class_type: Option<String>,
pub glib_get_type: String,
pub fields: Vec<Field>,
pub functions: Vec<Function>,
pub virtual_methods: Vec<Function>,
pub signals: Vec<Signal>,
pub properties: Vec<Property>,
pub parent: Option<TypeId>,
pub implements: Vec<TypeId>,
pub final_type: bool,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
pub doc: Option<String>,
pub doc_deprecated: Option<String>,
pub is_abstract: bool,
pub is_fundamental: bool,
pub ref_fn: Option<String>,
pub unref_fn: Option<String>,
}
Fields§
§name: String
§c_type: String
§symbol_prefix: String
§type_struct: Option<String>
§c_class_type: Option<String>
§glib_get_type: String
§fields: Vec<Field>
§functions: Vec<Function>
§virtual_methods: Vec<Function>
§signals: Vec<Signal>
§properties: Vec<Property>
§parent: Option<TypeId>
§implements: Vec<TypeId>
§final_type: bool
§version: Option<Version>
§deprecated_version: Option<Version>
§doc: Option<String>
§doc_deprecated: Option<String>
§is_abstract: bool
§is_fundamental: bool
§ref_fn: Option<String>
Specific to fundamental types
unref_fn: Option<String>
Trait Implementations§
source§impl IsExternal for Class
impl IsExternal for Class
fn is_external(&self, _lib: &Library) -> bool
source§impl IsIncomplete for Class
impl IsIncomplete for Class
fn is_incomplete(&self, lib: &Library) -> bool
source§impl Ord for Class
impl Ord for Class
source§impl PartialOrd for Class
impl PartialOrd for Class
impl Eq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<T> DerivesCopy for Twhere
T: IsIncomplete,
impl<T> DerivesCopy for Twhere
T: IsIncomplete,
fn derives_copy(&self, lib: &Library) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.