pub struct ContextItemNode {
pub span: SourceSpan,
}Expand description
Context item reference (.).
Fields§
§span: SourceSpanSource location.
Implementations§
Source§impl ContextItemNode
impl ContextItemNode
pub fn new(span: SourceSpan) -> Self
Trait Implementations§
Source§impl Clone for ContextItemNode
impl Clone for ContextItemNode
Source§fn clone(&self) -> ContextItemNode
fn clone(&self) -> ContextItemNode
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 moreAuto Trait Implementations§
impl Freeze for ContextItemNode
impl RefUnwindSafe for ContextItemNode
impl Send for ContextItemNode
impl Sync for ContextItemNode
impl Unpin for ContextItemNode
impl UnsafeUnpin for ContextItemNode
impl UnwindSafe for ContextItemNode
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