pub struct SurfaceDescriptor {
pub display_handle: RawDisplayHandle,
pub window_handle: RawWindowHandle,
pub extent: Extent2D,
}Fields§
§display_handle: RawDisplayHandle§window_handle: RawWindowHandle§extent: Extent2DTrait Implementations§
Source§impl Clone for SurfaceDescriptor
impl Clone for SurfaceDescriptor
Source§fn clone(&self) -> SurfaceDescriptor
fn clone(&self) -> SurfaceDescriptor
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 moreSource§impl Debug for SurfaceDescriptor
impl Debug for SurfaceDescriptor
impl Copy for SurfaceDescriptor
Auto Trait Implementations§
impl Freeze for SurfaceDescriptor
impl RefUnwindSafe for SurfaceDescriptor
impl !Send for SurfaceDescriptor
impl !Sync for SurfaceDescriptor
impl Unpin for SurfaceDescriptor
impl UnsafeUnpin for SurfaceDescriptor
impl UnwindSafe for SurfaceDescriptor
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