pub struct FunctionStitchingInputNode(/* private fields */);Expand description
An input node in a function stitching graph.
C++ equivalent: MTL::FunctionStitchingInputNode
Implementations§
Source§impl FunctionStitchingInputNode
impl FunctionStitchingInputNode
Sourcepub fn new() -> Option<Self>
pub fn new() -> Option<Self>
Create a new input node.
C++ equivalent: FunctionStitchingInputNode* alloc()->init()
Sourcepub fn with_argument_index(argument_index: UInteger) -> Option<Self>
pub fn with_argument_index(argument_index: UInteger) -> Option<Self>
Create a new input node with an argument index.
C++ equivalent: FunctionStitchingInputNode* alloc()->init(NS::UInteger)
Sourcepub fn argument_index(&self) -> UInteger
pub fn argument_index(&self) -> UInteger
Get the argument index.
C++ equivalent: NS::UInteger argumentIndex() const
Sourcepub fn set_argument_index(&self, argument_index: UInteger)
pub fn set_argument_index(&self, argument_index: UInteger)
Set the argument index.
C++ equivalent: void setArgumentIndex(NS::UInteger)
Trait Implementations§
Source§impl Clone for FunctionStitchingInputNode
impl Clone for FunctionStitchingInputNode
Source§impl Drop for FunctionStitchingInputNode
impl Drop for FunctionStitchingInputNode
Source§impl Referencing for FunctionStitchingInputNode
impl Referencing for FunctionStitchingInputNode
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 FunctionStitchingInputNode
impl Sync for FunctionStitchingInputNode
Auto Trait Implementations§
impl Freeze for FunctionStitchingInputNode
impl RefUnwindSafe for FunctionStitchingInputNode
impl Unpin for FunctionStitchingInputNode
impl UnwindSafe for FunctionStitchingInputNode
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