#[repr(transparent)]pub struct MetalSparseTextureRegionAlignmentMode(pub usize);Expand description
Re-exports the Metal framework surface for this item.
Mirrors the Metal framework counterpart for MetalSparseTextureRegionAlignmentMode.
Mirrors the Metal framework counterpart for this type.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MetalSparseTextureRegionAlignmentMode
impl Clone for MetalSparseTextureRegionAlignmentMode
Source§fn clone(&self) -> MetalSparseTextureRegionAlignmentMode
fn clone(&self) -> MetalSparseTextureRegionAlignmentMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetalSparseTextureRegionAlignmentMode
Source§impl Default for MetalSparseTextureRegionAlignmentMode
impl Default for MetalSparseTextureRegionAlignmentMode
Source§fn default() -> MetalSparseTextureRegionAlignmentMode
fn default() -> MetalSparseTextureRegionAlignmentMode
Returns the “default value” for a type. Read more
impl Eq for MetalSparseTextureRegionAlignmentMode
Source§impl PartialEq for MetalSparseTextureRegionAlignmentMode
impl PartialEq for MetalSparseTextureRegionAlignmentMode
Source§fn eq(&self, other: &MetalSparseTextureRegionAlignmentMode) -> bool
fn eq(&self, other: &MetalSparseTextureRegionAlignmentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalSparseTextureRegionAlignmentMode
Auto Trait Implementations§
impl Freeze for MetalSparseTextureRegionAlignmentMode
impl RefUnwindSafe for MetalSparseTextureRegionAlignmentMode
impl Send for MetalSparseTextureRegionAlignmentMode
impl Sync for MetalSparseTextureRegionAlignmentMode
impl Unpin for MetalSparseTextureRegionAlignmentMode
impl UnsafeUnpin for MetalSparseTextureRegionAlignmentMode
impl UnwindSafe for MetalSparseTextureRegionAlignmentMode
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