#[repr(C)]pub struct MTLOrigin {
pub x: NSUInteger,
pub y: NSUInteger,
pub z: NSUInteger,
}Available on crate feature
MTLTypes only.Expand description
Identify a pixel in an image. MTLOrigin is ususally used as the upper-left corner of a region of a texture.
See also Apple’s documentation
Fields§
§x: NSUInteger§y: NSUInteger§z: NSUIntegerTrait Implementations§
Source§impl RefEncode for MTLOrigin
impl RefEncode for MTLOrigin
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 MTLOrigin
impl StructuralPartialEq for MTLOrigin
Auto Trait Implementations§
impl Freeze for MTLOrigin
impl RefUnwindSafe for MTLOrigin
impl Send for MTLOrigin
impl Sync for MTLOrigin
impl Unpin for MTLOrigin
impl UnwindSafe for MTLOrigin
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.