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§
impl Freeze for Sel
impl RefUnwindSafe for Sel
impl Unpin for Sel
impl UnsafeUnpin for Sel
impl UnwindSafe for Sel
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