pub struct Record {Show 13 fields
pub name: String,
pub c_type: String,
pub symbol_prefix: Option<String>,
pub glib_get_type: Option<String>,
pub gtype_struct_for: Option<String>,
pub fields: Vec<Field>,
pub functions: Vec<Function>,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
pub doc: Option<String>,
pub doc_deprecated: Option<String>,
pub pointer: bool,
pub disguised: bool,
}
Fields§
§name: String
§c_type: String
§symbol_prefix: Option<String>
§glib_get_type: Option<String>
§gtype_struct_for: Option<String>
§fields: Vec<Field>
§functions: Vec<Function>
§version: Option<Version>
§deprecated_version: Option<Version>
§doc: Option<String>
§doc_deprecated: Option<String>
§pointer: bool
A ‘pointer’ record is one where the c:type is a typedef that doesn’t look like a pointer, but is internally: typedef struct _X *X;
disguised: bool
A ‘disguised’ record is one where the c:type is a typedef to a struct whose content and size are unknown, it is :typedef struct _X X;
Implementations§
Trait Implementations§
source§impl IsExternal for Record
impl IsExternal for Record
fn is_external(&self, _lib: &Library) -> bool
source§impl IsIncomplete for Record
impl IsIncomplete for Record
fn is_incomplete(&self, lib: &Library) -> bool
source§impl Ord for Record
impl Ord for Record
source§impl PartialOrd for Record
impl PartialOrd for Record
impl Eq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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.