pub struct StitchedLibraryDescriptor(/* private fields */);Expand description
Descriptor for creating a stitched library.
C++ equivalent: MTL::StitchedLibraryDescriptor
Implementations§
Source§impl StitchedLibraryDescriptor
impl StitchedLibraryDescriptor
Sourcepub fn new() -> Option<Self>
pub fn new() -> Option<Self>
Create a new stitched library descriptor.
C++ equivalent: StitchedLibraryDescriptor* alloc()->init()
Sourcepub fn function_graphs_ptr(&self) -> *const c_void
pub fn function_graphs_ptr(&self) -> *const c_void
Get the function graphs as a raw NS::Array pointer.
C++ equivalent: NS::Array* functionGraphs() const
Sourcepub fn set_function_graphs_ptr(&self, function_graphs: *const c_void)
pub fn set_function_graphs_ptr(&self, function_graphs: *const c_void)
Set the function graphs.
C++ equivalent: void setFunctionGraphs(const NS::Array*)
Sourcepub fn functions_ptr(&self) -> *const c_void
pub fn functions_ptr(&self) -> *const c_void
Get the functions as a raw NS::Array pointer.
C++ equivalent: NS::Array* functions() const
Sourcepub fn set_functions_ptr(&self, functions: *const c_void)
pub fn set_functions_ptr(&self, functions: *const c_void)
Set the functions.
C++ equivalent: void setFunctions(const NS::Array*)
Sourcepub fn binary_archives_ptr(&self) -> *const c_void
pub fn binary_archives_ptr(&self) -> *const c_void
Get the binary archives as a raw NS::Array pointer.
C++ equivalent: NS::Array* binaryArchives() const
Sourcepub fn set_binary_archives_ptr(&self, binary_archives: *const c_void)
pub fn set_binary_archives_ptr(&self, binary_archives: *const c_void)
Set the binary archives.
C++ equivalent: void setBinaryArchives(const NS::Array*)
Sourcepub fn options(&self) -> StitchedLibraryOptions
pub fn options(&self) -> StitchedLibraryOptions
Get the options.
C++ equivalent: StitchedLibraryOptions options() const
Sourcepub fn set_options(&self, options: StitchedLibraryOptions)
pub fn set_options(&self, options: StitchedLibraryOptions)
Set the options.
C++ equivalent: void setOptions(MTL::StitchedLibraryOptions)