pub struct CaptureDesc(/* private fields */);Implementations§
Source§impl CaptureDesc
impl CaptureDesc
Source§impl CaptureDesc
impl CaptureDesc
Sourcepub fn capture_obj_ar(&self) -> Option<Rar<Id>>
pub fn capture_obj_ar(&self) -> Option<Rar<Id>>
The object that is captured.
Sourcepub fn capture_obj(&self) -> Option<R<Id>>
pub fn capture_obj(&self) -> Option<R<Id>>
The object that is captured.
Sourcepub fn set_capture_obj(&mut self, val: &Id)
pub fn set_capture_obj(&mut self, val: &Id)
The object that is captured.
Must be one of the following:
- mtl::Device captures all command queues of the device.
- mtl::CmdQueue captures a single command queue.
- mtl::CaptureScope captures between the next begin and end of the scope.
pub fn dst(&self) -> CaptureDst
pub fn set_dst(&self, val: CaptureDst)
Sourcepub fn output_url_ar(&self) -> Option<Rar<Url>>
pub fn output_url_ar(&self) -> Option<Rar<Url>>
URL the GPU Trace document will be captured to.
Sourcepub fn output_url(&self) -> Option<R<Url>>
pub fn output_url(&self) -> Option<R<Url>>
URL the GPU Trace document will be captured to.
Sourcepub fn set_output_url(&mut self, val: Option<&Url>)
pub fn set_output_url(&mut self, val: Option<&Url>)
URL the GPU Trace document will be captured to.
Must be specified when destiation is mtl::CaptureDst::GpuTraceDocument.
Methods from Deref<Target = Id>§
pub unsafe fn value_for_key_throws_ar(&self, key: &String) -> Option<Rar<Self>>
pub unsafe fn value_for_key_throws(&self, key: &String) -> Option<R<Self>>
pub fn value_for_key<'ear>( &self, key: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_throws( &mut self, val: Option<&Self>, key: &String, )
pub fn set_value_for_key<'ear>( &mut self, val: Option<&Self>, key: &String, ) -> ExResult<'ear>
pub unsafe fn value_for_key_path_throws_ar( &self, key_path: &String, ) -> Option<Rar<Self>>
pub unsafe fn value_for_key_path_throws( &self, key_path: &String, ) -> Option<R<Self>>
pub fn value_for_key_path<'ear>( &self, key_path: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_path_throws( &mut self, val: Option<&Self>, key_path: &String, )
pub fn set_value_for_key_path<'ear>( &mut self, val: Option<&Self>, key_path: &String, ) -> ExResult<'ear>
pub fn as_type_ref(&self) -> &Type
pub fn as_id_ref(&self) -> &Self
pub fn is_equal(&self, other: &Self) -> bool
pub fn hash(&self) -> UInteger
pub fn as_ptr(&self) -> *const Self
Trait Implementations§
Source§impl AsRef<Id> for CaptureDesc
impl AsRef<Id> for CaptureDesc
Source§impl Debug for CaptureDesc
impl Debug for CaptureDesc
Source§impl Deref for CaptureDesc
impl Deref for CaptureDesc
Source§impl DerefMut for CaptureDesc
impl DerefMut for CaptureDesc
Source§impl Obj for CaptureDesc
impl Obj for CaptureDesc
unsafe fn retain(id: &Self) -> R<Self>
unsafe fn release(id: &mut Self)
fn desc_ar(&self) -> Rar<String>
fn desc(&self) -> R<String>
fn debug_desc_ar(&self) -> Rar<String>
fn debug_desc(&self) -> R<String>
fn responds_to_sel(&self, sel: &Sel) -> bool
fn class(&self) -> &Class<Self>
fn is_kind_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn try_cast<T: Obj>(&self, cls: &Class<T>) -> Option<&T>
fn try_cast_mut<T: Obj>(&mut self, cls: &Class<T>) -> Option<&mut T>
fn is_member_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn is_tagged_ptr(&self) -> bool
fn as_id_ref(&self) -> &Id
Source§impl PartialEq for CaptureDesc
impl PartialEq for CaptureDesc
Source§fn eq(&self, other: &CaptureDesc) -> bool
fn eq(&self, other: &CaptureDesc) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<Retained<CaptureDesc>> for CaptureDesc
impl PartialEq<Retained<CaptureDesc>> for CaptureDesc
impl StructuralPartialEq for CaptureDesc
Auto Trait Implementations§
impl !Sync for CaptureDesc
impl Freeze for CaptureDesc
impl RefUnwindSafe for CaptureDesc
impl Send for CaptureDesc
impl Unpin for CaptureDesc
impl UnsafeUnpin for CaptureDesc
impl UnwindSafe for CaptureDesc
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