pub struct ModuleInformation<'a> {
pub top: &'a LocalInformation,
pub module: &'a LocalInformation,
}Fields§
§top: &'a LocalInformation§module: &'a LocalInformationTrait Implementations§
Source§impl<'a> InformationChain for ModuleInformation<'a>
impl<'a> InformationChain for ModuleInformation<'a>
fn get_chain_of_info(&self) -> impl Iterator<Item = &LocalInformation>
fn get_narrowed(&self, for_ty: TypeId) -> Option<TypeId>
fn get_narrowed_or_object( &self, for_ty: TypeId, types: &TypeStore, ) -> Option<TypeId>
Auto Trait Implementations§
impl<'a> Freeze for ModuleInformation<'a>
impl<'a> RefUnwindSafe for ModuleInformation<'a>
impl<'a> Send for ModuleInformation<'a>
impl<'a> Sync for ModuleInformation<'a>
impl<'a> Unpin for ModuleInformation<'a>
impl<'a> UnsafeUnpin for ModuleInformation<'a>
impl<'a> UnwindSafe for ModuleInformation<'a>
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