#[repr(C)]pub struct MTLSizeAndAlign {
pub size: NSUInteger,
pub align: NSUInteger,
}Expand description
Fields§
§size: NSUInteger§align: NSUIntegerTrait Implementations§
Source§impl Clone for MTLSizeAndAlign
impl Clone for MTLSizeAndAlign
Source§fn clone(&self) -> MTLSizeAndAlign
fn clone(&self) -> MTLSizeAndAlign
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 MTLSizeAndAlign
Source§impl Debug for MTLSizeAndAlign
impl Debug for MTLSizeAndAlign
impl Eq for MTLSizeAndAlign
Source§impl Hash for MTLSizeAndAlign
impl Hash for MTLSizeAndAlign
Source§impl PartialEq for MTLSizeAndAlign
impl PartialEq for MTLSizeAndAlign
Source§fn eq(&self, other: &MTLSizeAndAlign) -> bool
fn eq(&self, other: &MTLSizeAndAlign) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLSizeAndAlign
Auto Trait Implementations§
impl Freeze for MTLSizeAndAlign
impl RefUnwindSafe for MTLSizeAndAlign
impl Send for MTLSizeAndAlign
impl Sync for MTLSizeAndAlign
impl Unpin for MTLSizeAndAlign
impl UnsafeUnpin for MTLSizeAndAlign
impl UnwindSafe for MTLSizeAndAlign
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