pub struct Namespace { /* private fields */ }Implementations§
Source§impl Namespace
impl Namespace
pub fn name(&self) -> &str
pub fn version(&self) -> &Version
pub fn c_identifier_prefixes(&self) -> impl Iterator<Item = &str>
pub fn c_symbol_prefixes(&self) -> impl Iterator<Item = &str>
pub fn aliases(&self) -> &[Alias]
pub fn constants(&self) -> &[Constant]
pub fn functions(&self) -> &[Function]
pub fn inlined_functions(&self) -> &[FunctionInline]
pub fn macros(&self) -> &[FunctionMacro]
pub fn enums(&self) -> &[Enumeration]
pub fn flags(&self) -> &[BitField]
pub fn unions(&self) -> &[Union]
pub fn boxed(&self) -> &[Boxed]
pub fn records(&self) -> &[Record]
pub fn classes(&self) -> &[Class]
pub fn callbacks(&self) -> &[Callback]
pub fn interfaces(&self) -> &[Interface]
Trait Implementations§
Source§impl Attributable for Namespace
impl Attributable for Namespace
fn attributes(&self) -> &[Attribute]
fn element_type(&self) -> Option<&str>
fn gtk_property_get(&self) -> Option<&str>
fn gtk_method_get_property(&self) -> Option<&str>
fn gtk_property_set(&self) -> Option<&str>
fn gtk_method_set_property(&self) -> Option<&str>
Source§impl XmlDeserialize for Namespace
impl XmlDeserialize for Namespace
fn deserialize<B: BufRead>( _tag_: &[u8], _reader_: &mut Reader<B>, _attrs_: Attributes<'_>, _is_empty_: bool, ) -> Self
fn de_root() -> Option<&'static [u8]>
A helper function used when ty =
untag. It could help
us to find out the children tags when deserializing§fn __deserialize_from_unparsed_array(
_array: Vec<(&'static [u8], Unparsed)>,
) -> Self
fn __deserialize_from_unparsed_array( _array: Vec<(&'static [u8], Unparsed)>, ) -> Self
A helper function used when handling the untag types. Read more
fn __deserialize_from_text(_: &str) -> Option<Self>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnsafeUnpin for Namespace
impl UnwindSafe for Namespace
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