pub struct Method { /* private fields */ }
Implementations§
Source§impl Method
impl Method
pub fn get_property(&self) -> Option<&str>
pub fn set_property(&self) -> Option<&str>
pub fn return_value(&self) -> &ReturnValue
pub fn parameters(&self) -> &Parameters
Trait Implementations§
Source§impl Attributable for Method
impl Attributable for Method
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 Method
impl Callable for Method
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 Method
impl Documentable for Method
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 Method
impl FunctionLike for Method
fn throws(&self) -> bool
fn return_value(&self) -> &ReturnValue
fn parameters(&self) -> &Parameters
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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
)