#[non_exhaustive]pub struct MetalOwnedTextureDescriptor {
pub extent: RenderTargetExtent,
pub context: MetalContextDescriptor,
}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.extent: RenderTargetExtent§context: MetalContextDescriptorImplementations§
Source§impl MetalOwnedTextureDescriptor
impl MetalOwnedTextureDescriptor
pub fn new(extent: RenderTargetExtent, context: MetalContextDescriptor) -> Self
Trait Implementations§
Source§impl Clone for MetalOwnedTextureDescriptor
impl Clone for MetalOwnedTextureDescriptor
Source§fn clone(&self) -> MetalOwnedTextureDescriptor
fn clone(&self) -> MetalOwnedTextureDescriptor
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 MetalOwnedTextureDescriptor
impl Debug for MetalOwnedTextureDescriptor
impl StructuralPartialEq for MetalOwnedTextureDescriptor
Auto Trait Implementations§
impl Freeze for MetalOwnedTextureDescriptor
impl RefUnwindSafe for MetalOwnedTextureDescriptor
impl !Send for MetalOwnedTextureDescriptor
impl !Sync for MetalOwnedTextureDescriptor
impl Unpin for MetalOwnedTextureDescriptor
impl UnsafeUnpin for MetalOwnedTextureDescriptor
impl UnwindSafe for MetalOwnedTextureDescriptor
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