Struct makepad_widgets::DrawListId
pub struct DrawListId(/* private fields */);
Implementations§
§impl DrawListId
impl DrawListId
pub fn index(&self) -> usize
pub fn generation(&self) -> u64
Trait Implementations§
§impl Clone for DrawListId
impl Clone for DrawListId
§fn clone(&self) -> DrawListId
fn clone(&self) -> DrawListId
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 more§impl Debug for DrawListId
impl Debug for DrawListId
§impl Hash for DrawListId
impl Hash for DrawListId
§impl Index<DrawListId> for CxDrawListPool
impl Index<DrawListId> for CxDrawListPool
§fn index(
&self,
index: DrawListId
) -> &<CxDrawListPool as Index<DrawListId>>::Output
fn index( &self, index: DrawListId ) -> &<CxDrawListPool as Index<DrawListId>>::Output
Performs the indexing (
container[index]
) operation. Read more§impl IndexMut<DrawListId> for CxDrawListPool
impl IndexMut<DrawListId> for CxDrawListPool
§fn index_mut(
&mut self,
index: DrawListId
) -> &mut <CxDrawListPool as Index<DrawListId>>::Output
fn index_mut( &mut self, index: DrawListId ) -> &mut <CxDrawListPool as Index<DrawListId>>::Output
Performs the mutable indexing (
container[index]
) operation. Read moresource§fn index_mut(
&mut self,
index: DrawListId
) -> &mut <CxNavTree as Index<DrawListId>>::Output
fn index_mut( &mut self, index: DrawListId ) -> &mut <CxNavTree as Index<DrawListId>>::Output
Performs the mutable indexing (
container[index]
) operation. Read more§impl Ord for DrawListId
impl Ord for DrawListId
§impl PartialEq<DrawListId> for DrawListId
impl PartialEq<DrawListId> for DrawListId
§fn eq(&self, other: &DrawListId) -> bool
fn eq(&self, other: &DrawListId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<DrawListId> for DrawListId
impl PartialOrd<DrawListId> for DrawListId
§fn partial_cmp(&self, other: &DrawListId) -> Option<Ordering>
fn partial_cmp(&self, other: &DrawListId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DrawListId
impl Eq for DrawListId
impl StructuralEq for DrawListId
impl StructuralPartialEq for DrawListId
Auto Trait Implementations§
impl RefUnwindSafe for DrawListId
impl Send for DrawListId
impl Sync for DrawListId
impl Unpin for DrawListId
impl UnwindSafe for DrawListId
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