pub struct FunctionConstant(/* private fields */);
Methods from Deref<Target = FunctionConstantRef>§
Trait Implementations§
Source§impl AsMut<FunctionConstantRef> for FunctionConstant
impl AsMut<FunctionConstantRef> for FunctionConstant
Source§fn as_mut(&mut self) -> &mut FunctionConstantRef
fn as_mut(&mut self) -> &mut FunctionConstantRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<FunctionConstantRef> for FunctionConstant
impl AsRef<FunctionConstantRef> for FunctionConstant
Source§fn as_ref(&self) -> &FunctionConstantRef
fn as_ref(&self) -> &FunctionConstantRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<FunctionConstantRef> for FunctionConstant
impl Borrow<FunctionConstantRef> for FunctionConstant
Source§fn borrow(&self) -> &FunctionConstantRef
fn borrow(&self) -> &FunctionConstantRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<FunctionConstantRef> for FunctionConstant
impl BorrowMut<FunctionConstantRef> for FunctionConstant
Source§fn borrow_mut(&mut self) -> &mut FunctionConstantRef
fn borrow_mut(&mut self) -> &mut FunctionConstantRef
Mutably borrows from an owned value. Read more
Source§impl Clone for FunctionConstant
impl Clone for FunctionConstant
Source§fn clone(&self) -> FunctionConstant
fn clone(&self) -> FunctionConstant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionConstant
impl Debug for FunctionConstant
Source§impl Deref for FunctionConstant
impl Deref for FunctionConstant
Source§type Target = FunctionConstantRef
type Target = FunctionConstantRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &FunctionConstantRef
fn deref(&self) -> &FunctionConstantRef
Dereferences the value.
Source§impl DerefMut for FunctionConstant
impl DerefMut for FunctionConstant
Source§fn deref_mut(&mut self) -> &mut FunctionConstantRef
fn deref_mut(&mut self) -> &mut FunctionConstantRef
Mutably dereferences the value.
Source§impl Drop for FunctionConstant
impl Drop for FunctionConstant
Source§impl ForeignType for FunctionConstant
impl ForeignType for FunctionConstant
Source§type CType = MTLFunctionConstant
type CType = MTLFunctionConstant
The raw C type.
Source§type Ref = FunctionConstantRef
type Ref = FunctionConstantRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLFunctionConstant) -> FunctionConstant
unsafe fn from_ptr(ptr: *mut MTLFunctionConstant) -> FunctionConstant
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLFunctionConstant
fn as_ptr(&self) -> *mut MTLFunctionConstant
Returns a raw pointer to the wrapped value.
impl Send for FunctionConstant
impl Sync for FunctionConstant
Auto Trait Implementations§
impl Freeze for FunctionConstant
impl RefUnwindSafe for FunctionConstant
impl Unpin for FunctionConstant
impl UnwindSafe for FunctionConstant
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