pub struct ProgramFrontendOutput { /* private fields */ }Expand description
Frontend products for every module of one canonical resolved program.
Implementations§
Source§impl ProgramFrontendOutput
impl ProgramFrontendOutput
pub const fn entrypoint_id(&self) -> SourceId
Sourcepub fn modules(&self) -> &[FrontendOutput]
pub fn modules(&self) -> &[FrontendOutput]
Products in the same dependency-first order as the resolved program.
pub fn module(&self, source_id: SourceId) -> Option<&FrontendOutput>
Auto Trait Implementations§
impl Freeze for ProgramFrontendOutput
impl RefUnwindSafe for ProgramFrontendOutput
impl Send for ProgramFrontendOutput
impl Sync for ProgramFrontendOutput
impl Unpin for ProgramFrontendOutput
impl UnsafeUnpin for ProgramFrontendOutput
impl UnwindSafe for ProgramFrontendOutput
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