pub struct ComponentSource {
pub kind: SourceKind,
pub components_dir: PathBuf,
}Expand description
One explicitly-configured place a mounted component’s files may live: components_dir is a
directory whose immediate children are <id>/component.yml (+ its steps/*). The host builds
the full ordered/kinded list up front (see compile_project_to_ir_with_sources) — resolution
never discovers sources on its own (no ancestor/filesystem-root walk).
Fields§
§kind: SourceKind§components_dir: PathBufImplementations§
Trait Implementations§
Source§impl Clone for ComponentSource
impl Clone for ComponentSource
Auto Trait Implementations§
impl Freeze for ComponentSource
impl RefUnwindSafe for ComponentSource
impl Send for ComponentSource
impl Sync for ComponentSource
impl Unpin for ComponentSource
impl UnsafeUnpin for ComponentSource
impl UnwindSafe for ComponentSource
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