Struct camo_typescript::TypePath
source · 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§
source§impl PartialEq<TypePath> for TypePath
impl PartialEq<TypePath> for TypePath
impl StructuralPartialEq for TypePath
Auto Trait Implementations§
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