Struct libgir::library::Enumeration
source · pub struct Enumeration {
pub name: String,
pub c_type: String,
pub symbol_prefix: Option<String>,
pub members: Vec<Member>,
pub functions: Vec<Function>,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
pub doc: Option<String>,
pub doc_deprecated: Option<String>,
pub error_domain: Option<ErrorDomain>,
pub glib_get_type: Option<String>,
}
Fields§
§name: String
§c_type: String
§symbol_prefix: Option<String>
§members: Vec<Member>
§functions: Vec<Function>
§version: Option<Version>
§deprecated_version: Option<Version>
§doc: Option<String>
§doc_deprecated: Option<String>
§error_domain: Option<ErrorDomain>
§glib_get_type: Option<String>
Trait Implementations§
source§impl Debug for Enumeration
impl Debug for Enumeration
source§impl Ord for Enumeration
impl Ord for Enumeration
source§fn cmp(&self, other: &Enumeration) -> Ordering
fn cmp(&self, other: &Enumeration) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Enumeration
impl PartialEq for Enumeration
source§impl PartialOrd for Enumeration
impl PartialOrd for Enumeration
impl Eq for Enumeration
Auto Trait Implementations§
impl Freeze for Enumeration
impl RefUnwindSafe for Enumeration
impl Send for Enumeration
impl Sync for Enumeration
impl Unpin for Enumeration
impl UnwindSafe for Enumeration
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
§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.