pub enum LuaTypeCache {
    DocType(LuaType),
    InferType(LuaType),
}Variants§
Implementations§
Methods from Deref<Target = LuaType>§
pub fn is_unknown(&self) -> bool
pub fn is_nil(&self) -> bool
pub fn is_never(&self) -> bool
pub fn is_table(&self) -> bool
pub fn is_userdata(&self) -> bool
pub fn is_thread(&self) -> bool
pub fn is_boolean(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_integer(&self) -> bool
pub fn is_number(&self) -> bool
pub fn is_io(&self) -> bool
pub fn is_ref(&self) -> bool
pub fn is_def(&self) -> bool
pub fn is_custom_type(&self) -> bool
pub fn is_array(&self) -> bool
pub fn is_nullable(&self) -> bool
pub fn is_optional(&self) -> bool
pub fn is_always_truthy(&self) -> bool
pub fn is_always_falsy(&self) -> bool
pub fn is_tuple(&self) -> bool
pub fn is_function(&self) -> bool
pub fn is_signature(&self) -> bool
pub fn is_object(&self) -> bool
pub fn is_union(&self) -> bool
pub fn is_intersection(&self) -> bool
pub fn is_call(&self) -> bool
pub fn is_generic(&self) -> bool
pub fn is_table_generic(&self) -> bool
pub fn is_class_tpl(&self) -> bool
pub fn is_str_tpl_ref(&self) -> bool
pub fn is_tpl(&self) -> bool
pub fn is_self_infer(&self) -> bool
pub fn is_any(&self) -> bool
pub fn is_const(&self) -> bool
pub fn is_multi_return(&self) -> bool
pub fn is_global(&self) -> bool
pub fn contain_tpl(&self) -> bool
pub fn is_namespace(&self) -> bool
pub fn is_variadic(&self) -> bool
pub fn is_member_owner(&self) -> bool
pub fn is_type_guard(&self) -> bool
pub fn is_multi_line_union(&self) -> bool
Trait Implementations§
Source§impl Clone for LuaTypeCache
 
impl Clone for LuaTypeCache
Source§fn clone(&self) -> LuaTypeCache
 
fn clone(&self) -> LuaTypeCache
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 LuaTypeCache
 
impl Debug for LuaTypeCache
Auto Trait Implementations§
impl Freeze for LuaTypeCache
impl RefUnwindSafe for LuaTypeCache
impl Send for LuaTypeCache
impl Sync for LuaTypeCache
impl Unpin for LuaTypeCache
impl UnwindSafe for LuaTypeCache
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<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