pub struct Record { /* private fields */ }Implementations§
Source§impl Record
impl Record
pub fn name(&self) -> Option<&str>
pub fn c_type(&self) -> Option<&str>
pub fn is_disguised(&self) -> bool
pub fn is_opaque(&self) -> bool
pub fn is_pointer(&self) -> bool
pub fn is_foreign(&self) -> bool
pub fn g_is_gtype_struct_for(&self) -> Option<&str>
pub fn g_type_name(&self) -> Option<&str>
pub fn g_get_type(&self) -> Option<&str>
pub fn symbol_prefix(&self) -> Option<&str>
pub fn copy_function(&self) -> Option<&str>
pub fn free_function(&self) -> Option<&str>
pub fn fields(&self) -> &[RecordField]
pub fn methods(&self) -> &[Method]
pub fn inlined_methods(&self) -> &[MethodInline]
pub fn functions(&self) -> &[Function]
pub fn inlined_functions(&self) -> &[FunctionInline]
pub fn constructors(&self) -> &[Function]
Trait Implementations§
Source§impl Attributable for Record
impl Attributable for Record
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 Documentable for Record
impl Documentable for Record
fn doc(&self) -> Option<&Documentation>
fn doc_deprecated(&self) -> Option<&DocDeprecated>
fn doc_stability(&self) -> Option<&DocStability>
fn doc_version(&self) -> Option<&DocVersion>
fn source_position(&self) -> Option<&SourcePosition>
Source§impl XmlDeserialize for Record
impl XmlDeserialize for Record
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,
impl Eq for Record
impl StructuralPartialEq 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