pub struct Path(/* private fields */);Expand description
A path of identifiers, like mod::Type.
Trait Implementations§
Source§impl From<StringOrIdent> for Path
impl From<StringOrIdent> for Path
Source§fn from(value: StringOrIdent) -> Self
fn from(value: StringOrIdent) -> Self
Converts to this type from the input type.
Source§impl<'a> FromIterator<&'a str> for Path
impl<'a> FromIterator<&'a str> for Path
Source§impl FromIterator<Ident> for Path
impl FromIterator<Ident> for Path
Source§impl FromIterator<String> for Path
impl FromIterator<String> for Path
Source§impl FromIterator<StringOrIdent> for Path
impl FromIterator<StringOrIdent> for Path
Source§fn from_iter<T: IntoIterator<Item = StringOrIdent>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = StringOrIdent>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl !Send for Path
impl !Sync for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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