pub struct PathSegment {
pub ident: Ident,
pub arguments: PathArguments,
}Fields§
§ident: Ident§arguments: PathArgumentsImplementations§
Source§impl PathSegment
impl PathSegment
fn to_tokens_inner(&self, tokens: &mut TokenStream, mode: Mode)
Trait Implementations§
Source§impl Debug for PathSegment
impl Debug for PathSegment
Source§impl Parse for PathSegment
impl Parse for PathSegment
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for PathSegment
impl !Sync for PathSegment
impl Freeze for PathSegment
impl RefUnwindSafe for PathSegment
impl Unpin for PathSegment
impl UnsafeUnpin for PathSegment
impl UnwindSafe for PathSegment
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