pub struct Union {
pub name: String,
pub c_type: Option<String>,
pub symbol_prefix: Option<String>,
pub glib_get_type: Option<String>,
pub fields: Vec<Field>,
pub functions: Vec<Function>,
pub doc: Option<String>,
}
Fields§
§name: String
§c_type: Option<String>
§symbol_prefix: Option<String>
§glib_get_type: Option<String>
§fields: Vec<Field>
§functions: Vec<Function>
§doc: Option<String>
Trait Implementations§
source§impl IsExternal for Union
impl IsExternal for Union
fn is_external(&self, _lib: &Library) -> bool
source§impl IsIncomplete for Union
impl IsIncomplete for Union
fn is_incomplete(&self, lib: &Library) -> bool
source§impl Ord for Union
impl Ord for Union
source§impl PartialOrd for Union
impl PartialOrd for Union
impl Eq for Union
Auto Trait Implementations§
impl Freeze for Union
impl RefUnwindSafe for Union
impl Send for Union
impl Sync for Union
impl Unpin for Union
impl UnwindSafe for Union
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.