pub struct Method<'a> { /* private fields */ }
Expand description
This structure represents an Objective-C Method
Implementations§
§impl Method<'_>
impl Method<'_>
pub fn mangled_type(&self) -> String
pub fn mangled_type(&self) -> String
Prototype of the method in its mangled representation (e.g. @16@0:8
)
pub fn is_instance(&self) -> bool
pub fn is_instance(&self) -> bool
Whether it’s an instance method
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Method<'a>
impl<'a> !Send for Method<'a>
impl<'a> !Sync for Method<'a>
impl<'a> Unpin for Method<'a>
impl<'a> UnwindSafe for Method<'a>
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