Struct makepad_shader_compiler::shader_ast::StructPtr
source · pub struct StructPtr(pub LivePtr);
Tuple Fields§
§0: LivePtr
Methods from Deref<Target = LivePtr>§
pub fn node_index(&self) -> usize
pub fn with_index(&self, index: usize) -> LivePtr
Trait Implementations§
source§impl Ord for StructPtr
impl Ord for StructPtr
source§impl PartialEq<StructPtr> for StructPtr
impl PartialEq<StructPtr> for StructPtr
source§impl PartialOrd<StructPtr> for StructPtr
impl PartialOrd<StructPtr> for StructPtr
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 StructPtr
impl Eq for StructPtr
impl StructuralEq for StructPtr
impl StructuralPartialEq for StructPtr
Auto Trait Implementations§
impl RefUnwindSafe for StructPtr
impl Send for StructPtr
impl Sync for StructPtr
impl Unpin for StructPtr
impl UnwindSafe for StructPtr
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