Struct webrender::NativeSurfaceId
source · #[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
source§fn eq(&self, other: &NativeSurfaceId) -> bool
fn eq(&self, other: &NativeSurfaceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NativeSurfaceId
impl Serialize 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> 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