pub struct LuaMember { /* private fields */ }Implementations§
Source§impl LuaMember
 
impl LuaMember
pub fn new( member_id: LuaMemberId, key: LuaMemberKey, decl_feature: LuaMemberFeature, global_path: Option<GlobalId>, ) -> Self
pub fn get_key(&self) -> &LuaMemberKey
pub fn get_file_id(&self) -> FileId
pub fn get_range(&self) -> TextRange
pub fn get_sort_key(&self) -> u64
pub fn get_syntax_id(&self) -> LuaSyntaxId
pub fn get_id(&self) -> LuaMemberId
pub fn is_field(&self) -> bool
pub fn get_feature(&self) -> LuaMemberFeature
pub fn get_global_id(&self) -> Option<&GlobalId>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaMember
impl RefUnwindSafe for LuaMember
impl Send for LuaMember
impl Sync for LuaMember
impl Unpin for LuaMember
impl UnwindSafe for LuaMember
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