//! This file has been automatically generated by `objc2`'s `header-translator`. //! DO NOT EDIT use objc2::__framework_prelude::*; use objc2_foundation::*; use crate::*; extern_protocol!( pub unsafe trait MTLCommandQueue: NSObjectProtocol + IsRetainable { #[method_id(@__retain_semantics Other label)] fn label(&self) -> Option>; #[method(setLabel:)] fn setLabel(&self, label: Option<&NSString>); #[cfg(feature = "MTLDevice")] #[method_id(@__retain_semantics Other device)] fn device(&self) -> Retained>; #[cfg(feature = "MTLCommandBuffer")] #[method_id(@__retain_semantics Other commandBuffer)] fn commandBuffer(&self) -> Option>>; #[cfg(feature = "MTLCommandBuffer")] #[method_id(@__retain_semantics Other commandBufferWithDescriptor:)] unsafe fn commandBufferWithDescriptor( &self, descriptor: &MTLCommandBufferDescriptor, ) -> Option>>; #[cfg(feature = "MTLCommandBuffer")] #[method_id(@__retain_semantics Other commandBufferWithUnretainedReferences)] unsafe fn commandBufferWithUnretainedReferences( &self, ) -> Option>>; #[deprecated = "Use MTLCaptureScope instead"] #[method(insertDebugCaptureBoundary)] unsafe fn insertDebugCaptureBoundary(&self); } unsafe impl ProtocolType for dyn MTLCommandQueue {} );