pub type FilePosition = FilePositionWrapper<FileId>;
Aliased Type§
struct FilePosition {
pub file_id: FileId,
pub offset: TextSize,
}
Fields§
§file_id: FileId
§offset: TextSize
Trait Implementations
§impl From<FilePositionWrapper<EditionedFileId>> for FilePositionWrapper<FileId>
impl From<FilePositionWrapper<EditionedFileId>> for FilePositionWrapper<FileId>
§fn from(
value: FilePositionWrapper<EditionedFileId>,
) -> FilePositionWrapper<FileId>
fn from( value: FilePositionWrapper<EditionedFileId>, ) -> FilePositionWrapper<FileId>
Converts to this type from the input type.