Struct objc2_metal::MTLSize
source · #[repr(C)]pub struct MTLSize {
pub width: NSUInteger,
pub height: NSUInteger,
pub depth: NSUInteger,
}Available on crate feature
MTLTypes only.Fields§
§width: NSUInteger§height: NSUInteger§depth: NSUIntegerTrait Implementations§
source§impl PartialEq for MTLSize
impl PartialEq for MTLSize
source§impl RefEncode for MTLSize
impl RefEncode for MTLSize
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLSize
impl StructuralPartialEq for MTLSize
Auto Trait Implementations§
impl Freeze for MTLSize
impl RefUnwindSafe for MTLSize
impl Send for MTLSize
impl Sync for MTLSize
impl Unpin for MTLSize
impl UnwindSafe for MTLSize
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.