#[repr(transparent)]pub struct Sel { /* private fields */ }
Expand description
A type that represents a method selector.
Implementations
sourceimpl Sel
impl Sel
sourcepub fn register(name: &str) -> Self
pub fn register(name: &str) -> Self
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 RefUnwindSafe for Sel
impl Send for Sel
impl StructuralEq for Sel
impl StructuralPartialEq for Sel
impl Sync for Sel
impl UnwindSafe for Sel
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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