pub struct FunctionReflection(/* private fields */);Expand description
Function reflection information.
C++ equivalent: MTL::FunctionReflection
Contains reflection information about a function.
Implementations§
Source§impl FunctionReflection
impl FunctionReflection
Sourcepub fn alloc() -> Option<Self>
pub fn alloc() -> Option<Self>
Allocate a new function reflection.
C++ equivalent: static FunctionReflection* alloc()
Sourcepub fn init(&self) -> Option<Self>
pub fn init(&self) -> Option<Self>
Initialize an allocated function reflection.
C++ equivalent: FunctionReflection* init()
Sourcepub fn bindings_raw(&self) -> *mut c_void
pub fn bindings_raw(&self) -> *mut c_void
Get the function bindings (raw NSArray pointer).
C++ equivalent: NS::Array* bindings() const
Trait Implementations§
Source§impl Clone for FunctionReflection
impl Clone for FunctionReflection
Source§impl Debug for FunctionReflection
impl Debug for FunctionReflection
Source§impl Drop for FunctionReflection
impl Drop for FunctionReflection
Source§impl Referencing for FunctionReflection
impl Referencing for FunctionReflection
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for FunctionReflection
impl Sync for FunctionReflection
Auto Trait Implementations§
impl Freeze for FunctionReflection
impl RefUnwindSafe for FunctionReflection
impl Unpin for FunctionReflection
impl UnwindSafe for FunctionReflection
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