Struct ra_ap_hir_def::path::PathSegment [−][src]
pub struct PathSegment<'a> { pub name: &'a Name, pub args_and_bindings: Option<&'a GenericArgs>, }
Fields
name: &'a Name
args_and_bindings: Option<&'a GenericArgs>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PathSegment<'a>
impl<'a> Send for PathSegment<'a>
impl<'a> Sync for PathSegment<'a>
impl<'a> Unpin for PathSegment<'a>
impl<'a> UnwindSafe for PathSegment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.