pub struct SurfaceNodeRef {
pub id: NodeId,
pub span: Span,
}Expand description
Parsed @id node reference.
Fields§
§id: NodeId§span: SpanTrait Implementations§
Source§impl Clone for SurfaceNodeRef
impl Clone for SurfaceNodeRef
Source§fn clone(&self) -> SurfaceNodeRef
fn clone(&self) -> SurfaceNodeRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceNodeRef
impl Debug for SurfaceNodeRef
Source§impl PartialEq for SurfaceNodeRef
impl PartialEq for SurfaceNodeRef
Source§fn eq(&self, other: &SurfaceNodeRef) -> bool
fn eq(&self, other: &SurfaceNodeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SurfaceNodeRef
impl StructuralPartialEq for SurfaceNodeRef
Auto Trait Implementations§
impl Freeze for SurfaceNodeRef
impl RefUnwindSafe for SurfaceNodeRef
impl Send for SurfaceNodeRef
impl Sync for SurfaceNodeRef
impl Unpin for SurfaceNodeRef
impl UnsafeUnpin for SurfaceNodeRef
impl UnwindSafe for SurfaceNodeRef
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