pub struct CompilerTaskOptions(/* private fields */);Expand description
Options for compiler tasks.
C++ equivalent: MTL4::CompilerTaskOptions
Implementations§
Source§impl CompilerTaskOptions
impl CompilerTaskOptions
Sourcepub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
pub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
Create a CompilerTaskOptions from a raw pointer.
Sourcepub fn lookup_archives_raw(&self) -> *mut c_void
pub fn lookup_archives_raw(&self) -> *mut c_void
Get the lookup archives (as raw pointer to NSArray).
C++ equivalent: NS::Array* lookupArchives() const
Sourcepub fn set_lookup_archives_raw(&self, archives: *const c_void)
pub fn set_lookup_archives_raw(&self, archives: *const c_void)
Set the lookup archives (from raw pointer to NSArray).
C++ equivalent: void setLookupArchives(const NS::Array*)
Trait Implementations§
Source§impl Clone for CompilerTaskOptions
impl Clone for CompilerTaskOptions
Source§impl Debug for CompilerTaskOptions
impl Debug for CompilerTaskOptions
Source§impl Drop for CompilerTaskOptions
impl Drop for CompilerTaskOptions
Source§impl Referencing for CompilerTaskOptions
impl Referencing for CompilerTaskOptions
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 CompilerTaskOptions
impl Sync for CompilerTaskOptions
Auto Trait Implementations§
impl Freeze for CompilerTaskOptions
impl RefUnwindSafe for CompilerTaskOptions
impl Unpin for CompilerTaskOptions
impl UnwindSafe for CompilerTaskOptions
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