Struct RustBackend [source]

pub(crate) struct RustBackend {
    pub(crate) cargo_path: PathBuf,
    pub(crate) source: ToolSource,
}

Fields

cargo_path

pub(crate) cargo_path: PathBuf

source

pub(crate) source: ToolSource

Methods

build [source]

pub(crate) fn build(self: &Self, rust_dir: &Path, mode: BuildMode) -> Result<(), DealerError>

development_system [source]

pub(crate) fn development_system() -> Self

from_cargo_path [source]

pub(crate) fn from_cargo_path(path: {'impl_trait': [{'trait_bound': {'trait': {'path': 'Into', 'id': 77, 'args': {'angle_bracketed': {'args': [{'type': {'resolved_path': {'path': 'PathBuf', 'id': 5, 'args': None}}}], 'constraints': []}}}, 'generic_params': [], 'modifier': 'none'}}]}) -> Self

pinned_toolchain [source]

pub(crate) fn pinned_toolchain(path: {'impl_trait': [{'trait_bound': {'trait': {'path': 'Into', 'id': 77, 'args': {'angle_bracketed': {'args': [{'type': {'resolved_path': {'path': 'PathBuf', 'id': 5, 'args': None}}}], 'constraints': []}}}, 'generic_params': [], 'modifier': 'none'}}]}) -> Self