pub struct Function { /* private fields */ }
Implementations§
Source§impl Function
impl Function
pub fn return_value(&self) -> &ReturnValue
pub fn parameters(&self) -> &Parameters
Trait Implementations§
Source§impl Attributable for Function
impl Attributable for Function
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 Callable for Function
impl Callable for Function
fn name(&self) -> &str
fn c_identifier(&self) -> Option<&str>
fn shadows(&self) -> Option<&str>
fn shadowed_by(&self) -> Option<&str>
fn moved_to(&self) -> Option<&str>
fn async_func(&self) -> Option<&str>
fn finish_func(&self) -> Option<&str>
fn sync_func(&self) -> Option<&str>
Source§impl Documentable for Function
impl Documentable for Function
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 FunctionLike for Function
impl FunctionLike for Function
fn throws(&self) -> bool
fn return_value(&self) -> &ReturnValue
fn parameters(&self) -> &Parameters
Source§impl XmlDeserialize for Function
impl XmlDeserialize for Function
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 Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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