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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)