pub struct CodegenModule {
pub name: &'static str,
pub source: &'static str,
pub submodules: &'static [&'static CodegenModule],
}Expand description
The type holding the source code of modules in external packages.
See CodegenPkg.
Fields§
§name: &'static str§source: &'static str§submodules: &'static [&'static CodegenModule]Trait Implementations§
Source§impl Debug for CodegenModule
impl Debug for CodegenModule
impl Eq for CodegenModule
Source§impl PartialEq for CodegenModule
impl PartialEq for CodegenModule
impl StructuralPartialEq for CodegenModule
Auto Trait Implementations§
impl Freeze for CodegenModule
impl RefUnwindSafe for CodegenModule
impl Send for CodegenModule
impl Sync for CodegenModule
impl Unpin for CodegenModule
impl UnsafeUnpin for CodegenModule
impl UnwindSafe for CodegenModule
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