//! This file has been automatically generated by `objc2`'s `header-translator`. //! DO NOT EDIT use core::ffi::*; use core::ptr::NonNull; use objc2::__framework_prelude::*; use objc2_foundation::*; use crate::*; extern_protocol!( /// [Apple's documentation](https://developer.apple.com/documentation/metal/mtlfence?language=objc) pub unsafe trait MTLFence: NSObjectProtocol + Send + Sync { #[cfg(feature = "MTLDevice")] #[unsafe(method(device))] #[unsafe(method_family = none)] fn device(&self) -> Retained>; /// A string to help identify this object. #[unsafe(method(label))] #[unsafe(method_family = none)] fn label(&self) -> Option>; /// Setter for [`label`][Self::label]. /// /// This is [copied][objc2_foundation::NSCopying::copy] when set. #[unsafe(method(setLabel:))] #[unsafe(method_family = none)] fn setLabel(&self, label: Option<&NSString>); } );