pub struct LinkedFunctionsRef(/* private fields */);
Expand description
A borrowed reference to a LinkedFunctions
.
Implementations§
Source§impl LinkedFunctionsRef
impl LinkedFunctionsRef
Sourcepub fn set_functions(&self, functions: &[&FunctionRef])
pub fn set_functions(&self, functions: &[&FunctionRef])
Marshal from Rust slice
Sourcepub fn binary_functions(&self) -> Vec<Function>
pub fn binary_functions(&self) -> Vec<Function>
Marshal to Rust Vec
Sourcepub fn set_binary_functions(&self, functions: &[&FunctionRef])
pub fn set_binary_functions(&self, functions: &[&FunctionRef])
Marshal from Rust slice
Trait Implementations§
Source§impl AsMut<LinkedFunctionsRef> for LinkedFunctions
impl AsMut<LinkedFunctionsRef> for LinkedFunctions
Source§fn as_mut(&mut self) -> &mut LinkedFunctionsRef
fn as_mut(&mut self) -> &mut LinkedFunctionsRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<LinkedFunctionsRef> for LinkedFunctions
impl AsRef<LinkedFunctionsRef> for LinkedFunctions
Source§fn as_ref(&self) -> &LinkedFunctionsRef
fn as_ref(&self) -> &LinkedFunctionsRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<LinkedFunctionsRef> for LinkedFunctions
impl Borrow<LinkedFunctionsRef> for LinkedFunctions
Source§fn borrow(&self) -> &LinkedFunctionsRef
fn borrow(&self) -> &LinkedFunctionsRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<LinkedFunctionsRef> for LinkedFunctions
impl BorrowMut<LinkedFunctionsRef> for LinkedFunctions
Source§fn borrow_mut(&mut self) -> &mut LinkedFunctionsRef
fn borrow_mut(&mut self) -> &mut LinkedFunctionsRef
Mutably borrows from an owned value. Read more
Source§impl Debug for LinkedFunctionsRef
impl Debug for LinkedFunctionsRef
Source§impl ForeignTypeRef for LinkedFunctionsRef
impl ForeignTypeRef for LinkedFunctionsRef
Source§type CType = MTLLinkedFunctions
type CType = MTLLinkedFunctions
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
Source§impl Message for LinkedFunctionsRef
impl Message for LinkedFunctionsRef
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Source§impl ToOwned for LinkedFunctionsRef
impl ToOwned for LinkedFunctionsRef
Source§type Owned = LinkedFunctions
type Owned = LinkedFunctions
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> LinkedFunctions
fn to_owned(&self) -> LinkedFunctions
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for LinkedFunctionsRef
impl Sync for LinkedFunctionsRef
Auto Trait Implementations§
impl Freeze for LinkedFunctionsRef
impl !RefUnwindSafe for LinkedFunctionsRef
impl Unpin for LinkedFunctionsRef
impl UnwindSafe for LinkedFunctionsRef
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