[−][src]Struct uikit_sys::NSProxy
Implementations
impl NSProxy
[src]
Methods from Deref<Target = Object>
pub fn class(&self) -> &Class
[src]
Returns the class of self.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &T where
T: Encode,
[src]
T: Encode,
Returns a reference to the ivar of self with the given name.
Panics if self has no ivar with the given name.
Unsafe because the caller must ensure that the ivar is actually
of type T
.
Trait Implementations
impl Clone for NSProxy
[src]
impl Copy for NSProxy
[src]
impl Deref for NSProxy
[src]
impl INSProxy for NSProxy
[src]
unsafe fn forwardInvocation_(self, invocation: NSInvocation) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn methodSignatureForSelector_(self, sel: Sel) -> NSMethodSignature where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn dealloc(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn finalize(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn allowsWeakReference(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn retainWeakReference(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn description(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn debugDescription(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn alloc() -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn allocWithZone_(zone: *mut NSZone) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn class() -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn respondsToSelector_(aSelector: Sel) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
impl Message for NSProxy
[src]
unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
[src]
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError> where
A: EncodeArguments,
R: Encode,
[src]
A: EncodeArguments,
R: Encode,
impl PNSObject for NSProxy
[src]
unsafe fn isEqual_(self, object: id) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn class(self) -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn self_(self) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn performSelector_(self, aSelector: Sel) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn performSelector_withObject_(self, aSelector: Sel, object: id) -> id where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn performSelector_withObject_withObject_(
self,
aSelector: Sel,
object1: id,
object2: id
) -> id where
Self::Target: Message + Sized,
[src]
self,
aSelector: Sel,
object1: id,
object2: id
) -> id where
Self::Target: Message + Sized,
unsafe fn isProxy(self) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn isKindOfClass_(self, aClass: Class) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn isMemberOfClass_(self, aClass: Class) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn conformsToProtocol_(self, aProtocol: Protocol) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn respondsToSelector_(self, aSelector: Sel) -> BOOL where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn retain(self) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn release(self) where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn autorelease(self) -> instancetype where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn retainCount(self) -> NSUInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn zone(self) -> *mut _NSZone where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn hash(self) -> NSUInteger where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn superclass(self) -> Class where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn description(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
unsafe fn debugDescription(self) -> NSString where
Self::Target: Message + Sized,
[src]
Self::Target: Message + Sized,
Auto Trait Implementations
impl RefUnwindSafe for NSProxy
impl !Send for NSProxy
impl !Sync for NSProxy
impl Unpin for NSProxy
impl UnwindSafe for NSProxy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,