Struct objc::runtime::Sel
[−]
[src]
#[repr(C)]pub struct Sel { /* fields omitted */ }
A type that represents a method selector.
Methods
impl Sel
[src]
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.
fn name(&self) -> &str
Returns the name of the method specified by self.
Trait Implementations
impl PartialEq for Sel
[src]
fn eq(&self, other: &Sel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Sel
[src]
impl Sync for Sel
[src]
impl Send for Sel
[src]
impl Copy for Sel
[src]
impl Clone for Sel
[src]
fn clone(&self) -> Sel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more