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: LuaPropertyOwnerId, same_property_owner_id: LuaPropertyOwnerId, file_id: FileId, ) -> Option<()>
pub fn add_description( &mut self, file_id: FileId, owner_id: LuaPropertyOwnerId, description: String, )
pub fn add_visibility( &mut self, file_id: FileId, owner_id: LuaPropertyOwnerId, visibility: VisibilityKind, )
pub fn add_source( &mut self, file_id: FileId, owner_id: LuaPropertyOwnerId, source: String, )
pub fn add_nodiscard(&mut self, file_id: FileId, owner_id: LuaPropertyOwnerId)
pub fn add_deprecated( &mut self, file_id: FileId, owner_id: LuaPropertyOwnerId, message: Option<String>, )
pub fn add_version( &mut self, file_id: FileId, owner_id: LuaPropertyOwnerId, version_conds: Vec<LuaVersionCondition>, )
pub fn add_async(&mut self, file_id: FileId, owner_id: LuaPropertyOwnerId)
pub fn get_property(&self, owner_id: LuaPropertyOwnerId) -> Option<&LuaProperty>
Trait Implementations§
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