pub struct IndirectCommandBufferDescriptor(/* private fields */);Implementations§
Methods from Deref<Target = IndirectCommandBufferDescriptorRef>§
pub fn command_types(&self) -> MTLIndirectCommandType
pub fn set_command_types(&self, types: MTLIndirectCommandType)
pub fn inherit_buffers(&self) -> bool
pub fn set_inherit_buffers(&self, inherit: bool)
pub fn inherit_pipeline_state(&self) -> bool
pub fn set_inherit_pipeline_state(&self, inherit: bool)
pub fn max_vertex_buffer_bind_count(&self) -> NSUInteger
pub fn set_max_vertex_buffer_bind_count(&self, count: NSUInteger)
pub fn max_fragment_buffer_bind_count(&self) -> NSUInteger
pub fn set_max_fragment_buffer_bind_count(&self, count: NSUInteger)
pub fn max_kernel_buffer_bind_count(&self) -> NSUInteger
pub fn set_max_kernel_buffer_bind_count(&self, count: NSUInteger)
Trait Implementations§
Source§impl AsMut<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
impl AsMut<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
Source§fn as_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
fn as_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
impl AsRef<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
Source§fn as_ref(&self) -> &IndirectCommandBufferDescriptorRef
fn as_ref(&self) -> &IndirectCommandBufferDescriptorRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
impl Borrow<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
Source§fn borrow(&self) -> &IndirectCommandBufferDescriptorRef
fn borrow(&self) -> &IndirectCommandBufferDescriptorRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
impl BorrowMut<IndirectCommandBufferDescriptorRef> for IndirectCommandBufferDescriptor
Source§fn borrow_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
fn borrow_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
Mutably borrows from an owned value. Read more
Source§impl Clone for IndirectCommandBufferDescriptor
impl Clone for IndirectCommandBufferDescriptor
Source§fn clone(&self) -> IndirectCommandBufferDescriptor
fn clone(&self) -> IndirectCommandBufferDescriptor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for IndirectCommandBufferDescriptor
impl Deref for IndirectCommandBufferDescriptor
Source§type Target = IndirectCommandBufferDescriptorRef
type Target = IndirectCommandBufferDescriptorRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &IndirectCommandBufferDescriptorRef
fn deref(&self) -> &IndirectCommandBufferDescriptorRef
Dereferences the value.
Source§impl DerefMut for IndirectCommandBufferDescriptor
impl DerefMut for IndirectCommandBufferDescriptor
Source§fn deref_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
fn deref_mut(&mut self) -> &mut IndirectCommandBufferDescriptorRef
Mutably dereferences the value.
Source§impl ForeignType for IndirectCommandBufferDescriptor
impl ForeignType for IndirectCommandBufferDescriptor
Source§type CType = MTLIndirectCommandBufferDescriptor
type CType = MTLIndirectCommandBufferDescriptor
The raw C type.
Source§type Ref = IndirectCommandBufferDescriptorRef
type Ref = IndirectCommandBufferDescriptorRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(
ptr: *mut MTLIndirectCommandBufferDescriptor,
) -> IndirectCommandBufferDescriptor
unsafe fn from_ptr( ptr: *mut MTLIndirectCommandBufferDescriptor, ) -> IndirectCommandBufferDescriptor
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLIndirectCommandBufferDescriptor
fn as_ptr(&self) -> *mut MTLIndirectCommandBufferDescriptor
Returns a raw pointer to the wrapped value.
impl Send for IndirectCommandBufferDescriptor
impl Sync for IndirectCommandBufferDescriptor
Auto Trait Implementations§
impl Freeze for IndirectCommandBufferDescriptor
impl RefUnwindSafe for IndirectCommandBufferDescriptor
impl Unpin for IndirectCommandBufferDescriptor
impl UnwindSafe for IndirectCommandBufferDescriptor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)