pub struct LuaPropertyIndex { /* private fields */ }Implementations§
Source§impl LuaPropertyIndex
 
impl LuaPropertyIndex
pub fn new() -> Self
pub fn add_owner_map( &mut self, source_owner_id: LuaSemanticDeclId, same_property_owner_id: LuaSemanticDeclId, file_id: FileId, ) -> Option<()>
pub fn add_description( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, description: String, ) -> Option<()>
pub fn add_visibility( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, visibility: VisibilityKind, ) -> Option<()>
pub fn add_source( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, source: String, ) -> Option<()>
pub fn add_deprecated( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, message: Option<String>, ) -> Option<()>
pub fn add_version( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, version_conds: Vec<LuaVersionCondition>, ) -> Option<()>
pub fn add_see( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, see_content: String, ) -> Option<()>
pub fn add_other( &mut self, file_id: FileId, owner_id: LuaSemanticDeclId, other_content: String, ) -> Option<()>
pub fn get_property( &self, owner_id: &LuaSemanticDeclId, ) -> Option<&LuaDeclProperty>
Trait Implementations§
Source§impl Debug for LuaPropertyIndex
 
impl Debug for LuaPropertyIndex
Auto Trait Implementations§
impl Freeze for LuaPropertyIndex
impl RefUnwindSafe for LuaPropertyIndex
impl Send for LuaPropertyIndex
impl Sync for LuaPropertyIndex
impl Unpin for LuaPropertyIndex
impl UnwindSafe for LuaPropertyIndex
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