Struct webrender_api::IdNamespace
source · #[repr(C)]pub struct IdNamespace(pub u32);
Expand description
ID namespaces uniquely identify different users of WebRender’s API.
For example in Gecko each content process uses a separate id namespace.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for IdNamespace
impl Clone for IdNamespace
source§fn clone(&self) -> IdNamespace
fn clone(&self) -> IdNamespace
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 IdNamespace
impl Debug for IdNamespace
source§impl Default for IdNamespace
impl Default for IdNamespace
source§fn default() -> IdNamespace
fn default() -> IdNamespace
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IdNamespace
impl<'de> Deserialize<'de> for IdNamespace
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for IdNamespace
impl Hash for IdNamespace
source§impl MallocSizeOf for IdNamespace
impl MallocSizeOf for IdNamespace
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl Ord for IdNamespace
impl Ord for IdNamespace
source§fn cmp(&self, other: &IdNamespace) -> Ordering
fn cmp(&self, other: &IdNamespace) -> 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 IdNamespace
impl PartialEq for IdNamespace
source§impl PartialOrd for IdNamespace
impl PartialOrd for IdNamespace
source§impl Peek for IdNamespace
impl Peek for IdNamespace
source§impl Poke for IdNamespace
impl Poke for IdNamespace
source§impl Serialize for IdNamespace
impl Serialize for IdNamespace
impl Copy for IdNamespace
impl Eq for IdNamespace
impl StructuralPartialEq for IdNamespace
Auto Trait Implementations§
impl Freeze for IdNamespace
impl RefUnwindSafe for IdNamespace
impl Send for IdNamespace
impl Sync for IdNamespace
impl Unpin for IdNamespace
impl UnwindSafe for IdNamespace
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)