#[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