Upcast
base_db
0.0.0
Upcast
Required Methods
upcast
Implementors
In crate base_
db
Macros
impl_intern_key
Structs
AnchoredPath
AnchoredPathBuf
BuildMetadata
CompressedFileTextQuery
CrateData
CrateDisplayName
CrateGraph
CrateGraphQuery
CrateName
CrateWorkspaceData
CrateWorkspaceDataQuery
Dependency
Env
FileChange
FileLoaderDelegate
FileSet
FileSourceRootQuery
FileTextQuery
ParseErrorsQuery
ParseQuery
Prerelease
SourceDatabaseGroupStorage__
SourceDatabaseStorage
SourceRoot
SourceRootCratesQuery
SourceRootDatabaseGroupStorage__
SourceRootDatabaseStorage
SourceRootId
SourceRootQuery
Version
VersionReq
VfsPath
Enums
Cancelled
CrateOrigin
LangCrateOrigin
ReleaseChannel
Constants
DEFAULT_BORROWCK_LRU_CAP
DEFAULT_FILE_TEXT_LRU_CAP
DEFAULT_PARSE_LRU_CAP
Traits
FileLoader
SourceDatabase
SourceDatabaseFileInputExt
SourceRootDatabase
Upcast
Type Aliases
CrateId
ProcMacroPaths
TargetLayoutLoadResult
base_db
Trait
Upcast
Copy item path
Settings
Help
Summary
source
pub trait Upcast<T: ?
Sized
> { // Required method fn
upcast
(&self) ->
&T
; }
Required Methods
§
source
fn
upcast
(&self) ->
&T
Implementors
§
impl Upcast<dyn DefDatabase> for
RootDatabase
impl Upcast<dyn ExpandDatabase> for
RootDatabase
impl Upcast<dyn HirDatabase> for
RootDatabase