pub struct ModuleInfo {
pub file_id: FileId,
pub full_module_name: String,
pub name: String,
pub module_id: ModuleNodeId,
pub visible: bool,
pub export_type: Option<LuaType>,
pub version_conds: Option<Box<Vec<LuaVersionCondition>>>,
}Fields§
§file_id: FileId§full_module_name: String§name: String§module_id: ModuleNodeId§visible: bool§export_type: Option<LuaType>§version_conds: Option<Box<Vec<LuaVersionCondition>>>Implementations§
Source§impl ModuleInfo
impl ModuleInfo
pub fn is_visible(&self, version_number: &LuaVersionNumber) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleInfo
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnwindSafe for ModuleInfo
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