pub struct PathType {
pub root_opt: Option<(Option<AngleBrackets<QualifiedPathRoot>>, DoubleColonToken)>,
pub prefix: PathTypeSegment,
pub suffix: Vec<(DoubleColonToken, PathTypeSegment)>,
}
Fields§
§root_opt: Option<(Option<AngleBrackets<QualifiedPathRoot>>, DoubleColonToken)>
§prefix: PathTypeSegment
§suffix: Vec<(DoubleColonToken, PathTypeSegment)>
Implementations§
source§impl PathType
impl PathType
pub fn last_segment(&self) -> &PathTypeSegment
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PathType
impl Send for PathType
impl Sync for PathType
impl Unpin for PathType
impl UnwindSafe for PathType
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