#[repr(C)]pub struct WGPUSurfaceSourceWaylandSurface {
pub chain: WGPUChainedStruct,
pub display: *mut c_void,
pub surface: *mut c_void,
}Fields§
§chain: WGPUChainedStruct§display: *mut c_void§surface: *mut c_voidTrait Implementations§
Source§impl Clone for WGPUSurfaceSourceWaylandSurface
impl Clone for WGPUSurfaceSourceWaylandSurface
Source§fn clone(&self) -> WGPUSurfaceSourceWaylandSurface
fn clone(&self) -> WGPUSurfaceSourceWaylandSurface
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 Ord for WGPUSurfaceSourceWaylandSurface
impl Ord for WGPUSurfaceSourceWaylandSurface
Source§fn cmp(&self, other: &WGPUSurfaceSourceWaylandSurface) -> Ordering
fn cmp(&self, other: &WGPUSurfaceSourceWaylandSurface) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUSurfaceSourceWaylandSurface
impl PartialEq for WGPUSurfaceSourceWaylandSurface
Source§fn eq(&self, other: &WGPUSurfaceSourceWaylandSurface) -> bool
fn eq(&self, other: &WGPUSurfaceSourceWaylandSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUSurfaceSourceWaylandSurface
impl PartialOrd for WGPUSurfaceSourceWaylandSurface
impl Copy for WGPUSurfaceSourceWaylandSurface
impl Eq for WGPUSurfaceSourceWaylandSurface
impl StructuralPartialEq for WGPUSurfaceSourceWaylandSurface
Auto Trait Implementations§
impl Freeze for WGPUSurfaceSourceWaylandSurface
impl RefUnwindSafe for WGPUSurfaceSourceWaylandSurface
impl !Send for WGPUSurfaceSourceWaylandSurface
impl !Sync for WGPUSurfaceSourceWaylandSurface
impl Unpin for WGPUSurfaceSourceWaylandSurface
impl UnwindSafe for WGPUSurfaceSourceWaylandSurface
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