Struct makepad_objc_sys::runtime::Method
source · [−]#[repr(C)]pub struct Method { /* private fields */ }
Implementations
sourceimpl Method
impl Method
sourcepub fn return_type(&self) -> Encoding
pub fn return_type(&self) -> Encoding
Returns the Encoding
of self’s return type.
sourcepub fn argument_type(&self, index: usize) -> Option<Encoding>
pub fn argument_type(&self, index: usize) -> Option<Encoding>
Returns the Encoding
of a single parameter type of self, or
None
if self has no parameter at the given index.
sourcepub fn arguments_count(&self) -> usize
pub fn arguments_count(&self) -> usize
Returns the number of arguments accepted by self.
sourcepub fn implementation(&self) -> Imp
pub fn implementation(&self) -> Imp
Returns the implementation of self.
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more