pub struct LuaMember { /* private fields */ }Implementations§
Source§impl LuaMember
impl LuaMember
pub fn new( owner: LuaMemberOwner, key: LuaMemberKey, file_id: FileId, id: LuaSyntaxId, decl_type: Option<LuaType>, ) -> Self
pub fn get_owner(&self) -> LuaMemberOwner
pub fn get_key(&self) -> &LuaMemberKey
pub fn get_file_id(&self) -> FileId
pub fn get_range(&self) -> TextRange
pub fn get_syntax_id(&self) -> LuaSyntaxId
pub fn get_decl_type(&self) -> &LuaType
pub fn get_id(&self) -> LuaMemberId
pub fn with_owner(&self, owner: LuaMemberOwner) -> Self
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