Type Alias FilePosition
pub type FilePosition = FilePositionWrapper<EditionedFileId>;
Aliased Type§
struct FilePosition {
pub file_id: EditionedFileId,
pub offset: TextSize,
}
Fields§
§file_id: EditionedFileId
§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