pub struct TypePath {
pub segments: Vec<PathSegment>,
}
Expand description
The name of a type.
Example:
const x: types.X = { /* ... */}
// ^^^^^^^
Fields§
§segments: Vec<PathSegment>
The segments of the type name.
Trait Implementations§
impl StructuralPartialEq for TypePath
Auto Trait Implementations§
impl Freeze for TypePath
impl RefUnwindSafe for TypePath
impl Send for TypePath
impl Sync for TypePath
impl Unpin for TypePath
impl UnwindSafe for TypePath
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