pub struct LuaSignatureId { /* private fields */ }Implementations§
Source§impl LuaSignatureId
impl LuaSignatureId
pub fn from_closure(file_id: FileId, closure: &LuaClosureExpr) -> Self
pub fn from_doc_func(file_id: FileId, func_type: &LuaDocFuncType) -> Self
pub fn get_file_id(&self) -> FileId
pub fn get_position(&self) -> TextSize
Trait Implementations§
Source§impl Clone for LuaSignatureId
impl Clone for LuaSignatureId
Source§fn clone(&self) -> LuaSignatureId
fn clone(&self) -> LuaSignatureId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LuaSignatureId
impl Debug for LuaSignatureId
Source§impl<'de> Deserialize<'de> for LuaSignatureId
impl<'de> Deserialize<'de> for LuaSignatureId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LuaSignatureId> for LuaSemanticDeclId
impl From<LuaSignatureId> for LuaSemanticDeclId
Source§fn from(id: LuaSignatureId) -> Self
fn from(id: LuaSignatureId) -> Self
Converts to this type from the input type.
Source§impl Hash for LuaSignatureId
impl Hash for LuaSignatureId
Source§impl PartialEq for LuaSignatureId
impl PartialEq for LuaSignatureId
Source§impl Serialize for LuaSignatureId
impl Serialize for LuaSignatureId
impl Copy for LuaSignatureId
impl Eq for LuaSignatureId
impl StructuralPartialEq for LuaSignatureId
Auto Trait Implementations§
impl Freeze for LuaSignatureId
impl RefUnwindSafe for LuaSignatureId
impl Send for LuaSignatureId
impl Sync for LuaSignatureId
impl Unpin for LuaSignatureId
impl UnwindSafe for LuaSignatureId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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