Struct ra_syntax::ast::PathSegmentNode
source · pub struct PathSegmentNode(_);
Implementations
sourceimpl PathSegmentNode
impl PathSegmentNode
pub fn ast(&self) -> PathSegment<'_>
Trait Implementations
sourceimpl Clone for PathSegmentNode
impl Clone for PathSegmentNode
sourcefn clone(&self) -> PathSegmentNode
fn clone(&self) -> PathSegmentNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PathSegmentNode
impl Debug for PathSegmentNode
sourceimpl<'a> From<PathSegment<'a>> for PathSegmentNode
impl<'a> From<PathSegment<'a>> for PathSegmentNode
sourcefn from(ast: PathSegment<'a>) -> PathSegmentNode
fn from(ast: PathSegment<'a>) -> PathSegmentNode
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for PathSegmentNode
impl Send for PathSegmentNode
impl Sync for PathSegmentNode
impl Unpin for PathSegmentNode
impl !UnwindSafe for PathSegmentNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more