#[repr(C)]pub struct NativeSurfaceId(pub u64);
Expand description
An arbitrary identifier for a native (OS compositor) surface
Tuple Fields§
§0: u64
Implementations§
Source§impl NativeSurfaceId
impl NativeSurfaceId
Sourcepub const DEBUG_OVERLAY: NativeSurfaceId = _
pub const DEBUG_OVERLAY: NativeSurfaceId = _
A special id for the native surface that is used for debug / profiler overlays.
Trait Implementations§
Source§impl Clone for NativeSurfaceId
impl Clone for NativeSurfaceId
Source§fn clone(&self) -> NativeSurfaceId
fn clone(&self) -> NativeSurfaceId
Returns a copy 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 NativeSurfaceId
impl Debug for NativeSurfaceId
Source§impl Hash for NativeSurfaceId
impl Hash for NativeSurfaceId
Source§impl PartialEq for NativeSurfaceId
impl PartialEq for NativeSurfaceId
impl Copy for NativeSurfaceId
impl Eq for NativeSurfaceId
impl StructuralPartialEq for NativeSurfaceId
Auto Trait Implementations§
impl Freeze for NativeSurfaceId
impl RefUnwindSafe for NativeSurfaceId
impl Send for NativeSurfaceId
impl Sync for NativeSurfaceId
impl Unpin for NativeSurfaceId
impl UnwindSafe for NativeSurfaceId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more