pub struct BinaryArchive(/* private fields */);
Methods from Deref<Target = BinaryArchiveRef>§
pub fn device(&self) -> &DeviceRef
pub fn label(&self) -> &str
pub fn set_label(&self, label: &str)
pub fn add_compute_pipeline_functions_with_descriptor( &self, descriptor: &ComputePipelineDescriptorRef, ) -> Result<bool, String>
pub fn add_render_pipeline_functions_with_descriptor( &self, descriptor: &RenderPipelineDescriptorRef, ) -> Result<bool, String>
pub fn serialize_to_url(&self, url: &URLRef) -> Result<bool, String>
Trait Implementations§
Source§impl AsMut<BinaryArchiveRef> for BinaryArchive
impl AsMut<BinaryArchiveRef> for BinaryArchive
Source§fn as_mut(&mut self) -> &mut BinaryArchiveRef
fn as_mut(&mut self) -> &mut BinaryArchiveRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<BinaryArchiveRef> for BinaryArchive
impl AsRef<BinaryArchiveRef> for BinaryArchive
Source§fn as_ref(&self) -> &BinaryArchiveRef
fn as_ref(&self) -> &BinaryArchiveRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<BinaryArchiveRef> for BinaryArchive
impl Borrow<BinaryArchiveRef> for BinaryArchive
Source§fn borrow(&self) -> &BinaryArchiveRef
fn borrow(&self) -> &BinaryArchiveRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<BinaryArchiveRef> for BinaryArchive
impl BorrowMut<BinaryArchiveRef> for BinaryArchive
Source§fn borrow_mut(&mut self) -> &mut BinaryArchiveRef
fn borrow_mut(&mut self) -> &mut BinaryArchiveRef
Mutably borrows from an owned value. Read more
Source§impl Clone for BinaryArchive
impl Clone for BinaryArchive
Source§fn clone(&self) -> BinaryArchive
fn clone(&self) -> BinaryArchive
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 BinaryArchive
impl Debug for BinaryArchive
Source§impl Deref for BinaryArchive
impl Deref for BinaryArchive
Source§type Target = BinaryArchiveRef
type Target = BinaryArchiveRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &BinaryArchiveRef
fn deref(&self) -> &BinaryArchiveRef
Dereferences the value.
Source§impl DerefMut for BinaryArchive
impl DerefMut for BinaryArchive
Source§fn deref_mut(&mut self) -> &mut BinaryArchiveRef
fn deref_mut(&mut self) -> &mut BinaryArchiveRef
Mutably dereferences the value.
Source§impl Drop for BinaryArchive
impl Drop for BinaryArchive
Source§impl ForeignType for BinaryArchive
impl ForeignType for BinaryArchive
Source§type CType = MTLBinaryArchive
type CType = MTLBinaryArchive
The raw C type.
Source§type Ref = BinaryArchiveRef
type Ref = BinaryArchiveRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLBinaryArchive) -> BinaryArchive
unsafe fn from_ptr(ptr: *mut MTLBinaryArchive) -> BinaryArchive
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLBinaryArchive
fn as_ptr(&self) -> *mut MTLBinaryArchive
Returns a raw pointer to the wrapped value.
impl Send for BinaryArchive
impl Sync for BinaryArchive
Auto Trait Implementations§
impl Freeze for BinaryArchive
impl RefUnwindSafe for BinaryArchive
impl Unpin for BinaryArchive
impl UnwindSafe for BinaryArchive
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