pub struct DbIndex { /* private fields */ }Implementations§
Source§impl DbIndex
impl DbIndex
pub fn new() -> Self
pub fn remove_index(&mut self, file_ids: Vec<FileId>)
pub fn get_decl_index_mut(&mut self) -> &mut LuaDeclIndex
pub fn get_reference_index_mut(&mut self) -> &mut LuaReferenceIndex
pub fn get_type_index_mut(&mut self) -> &mut LuaTypeIndex
pub fn get_module_index_mut(&mut self) -> &mut LuaModuleIndex
pub fn get_meta_file_mut(&mut self) -> &mut MetaFile
pub fn get_member_index_mut(&mut self) -> &mut LuaMemberIndex
pub fn get_property_index_mut(&mut self) -> &mut LuaPropertyIndex
pub fn get_signature_index_mut(&mut self) -> &mut LuaSignatureIndex
pub fn get_diagnostic_index_mut(&mut self) -> &mut DiagnosticIndex
pub fn get_operator_index_mut(&mut self) -> &mut LuaOperatorIndex
pub fn get_flow_index_mut(&mut self) -> &mut LuaFlowIndex
pub fn get_decl_index(&self) -> &LuaDeclIndex
pub fn get_reference_index(&self) -> &LuaReferenceIndex
pub fn get_type_index(&self) -> &LuaTypeIndex
pub fn get_module_index(&self) -> &LuaModuleIndex
pub fn get_meta_file(&self) -> &MetaFile
pub fn get_member_index(&self) -> &LuaMemberIndex
pub fn get_property_index(&self) -> &LuaPropertyIndex
pub fn get_signature_index(&self) -> &LuaSignatureIndex
pub fn get_diagnostic_index(&self) -> &DiagnosticIndex
pub fn get_operator_index(&self) -> &LuaOperatorIndex
pub fn get_flow_index(&self) -> &LuaFlowIndex
pub fn get_vfs(&self) -> &Vfs
pub fn get_vfs_mut(&mut self) -> &mut Vfs
pub fn update_config(&mut self, config: Arc<Emmyrc>)
pub fn get_snapshot_info(&self) -> HashMap<String, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DbIndex
impl RefUnwindSafe for DbIndex
impl Send for DbIndex
impl Sync for DbIndex
impl Unpin for DbIndex
impl UnwindSafe for DbIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more