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