Type Alias HirFilePosition
pub type HirFilePosition = FilePositionWrapper<HirFileId>;
Aliased Type§
struct HirFilePosition {
pub file_id: HirFileId,
pub offset: TextSize,
}
Fields§
§file_id: HirFileId
§offset: TextSize
Trait Implementations
§impl<FileKind> Clone for FilePositionWrapper<FileKind>where
FileKind: Clone,
impl<FileKind> Clone for FilePositionWrapper<FileKind>where
FileKind: Clone,
§fn clone(&self) -> FilePositionWrapper<FileKind>
fn clone(&self) -> FilePositionWrapper<FileKind>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more