Upcast
base_db
0.0.0
Upcast
Required Methods
upcast
Implementors
In crate base_
db
Macros
impl_intern_key
Structs
AnchoredPath
AnchoredPathBuf
BuildMetadata
Crate
CrateBuilder
CrateDisplayName
CrateGraphBuilder
CrateName
CrateWorkspaceData
CratesMap
EditionedFileId
Env
ExtraCrateData
FileChange
FileId
FileSet
FileSourceRootInput
FileText
Files
Prerelease
SourceRoot
SourceRootId
SourceRootInput
UniqueCrateData
Version
VersionReq
VfsPath
Enums
CrateOrigin
LangCrateOrigin
ReleaseChannel
Constants
DEFAULT_BORROWCK_LRU_CAP
DEFAULT_FILE_TEXT_LRU_CAP
DEFAULT_PARSE_LRU_CAP
Traits
RootQueryDb
SourceDatabase
Upcast
Functions
transitive_deps
Type Aliases
BuiltCrateData
BuiltDependency
CrateBuilderId
CrateDataBuilder
CratesIdMap
DependencyBuilder
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
impl Upcast<dyn RootQueryDb> for
RootDatabase
impl Upcast<dyn SourceDatabase> for
RootDatabase