#[non_exhaustive]pub struct MetalContextDescriptor {
pub device: NativePointer,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.device: NativePointerImplementations§
Source§impl MetalContextDescriptor
impl MetalContextDescriptor
pub fn new(device: NativePointer) -> Self
Trait Implementations§
Source§impl Clone for MetalContextDescriptor
impl Clone for MetalContextDescriptor
Source§fn clone(&self) -> MetalContextDescriptor
fn clone(&self) -> MetalContextDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetalContextDescriptor
impl Debug for MetalContextDescriptor
Source§impl Default for MetalContextDescriptor
impl Default for MetalContextDescriptor
Source§impl PartialEq for MetalContextDescriptor
impl PartialEq for MetalContextDescriptor
impl StructuralPartialEq for MetalContextDescriptor
Auto Trait Implementations§
impl Freeze for MetalContextDescriptor
impl RefUnwindSafe for MetalContextDescriptor
impl !Send for MetalContextDescriptor
impl !Sync for MetalContextDescriptor
impl Unpin for MetalContextDescriptor
impl UnsafeUnpin for MetalContextDescriptor
impl UnwindSafe for MetalContextDescriptor
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