#[repr(C)]pub struct Sel { /* private fields */ }
Expand description
A type that represents a method selector.
Implementations§
source§impl Sel
impl Sel
sourcepub fn register(name: &str) -> Sel
pub fn register(name: &str) -> Sel
Registers a method with the Objective-C runtime system, maps the method name to a selector, and returns the selector value.
Trait Implementations§
impl Copy for Sel
impl Eq for Sel
impl Send for Sel
impl Sync for Sel
Auto Trait Implementations§
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