pub struct ChastefileBuilder { /* private fields */ }Implementations§
Source§impl ChastefileBuilder
impl ChastefileBuilder
pub fn new() -> Self
pub fn add_package(&mut self, package: Package) -> Result<PackageID>
pub fn add_package_installation(&mut self, installation: Installation)
pub fn add_dependency(&mut self, dependency: Dependency)
pub fn add_dependencies( &mut self, dependencies: impl Iterator<Item = Dependency>, )
pub fn set_root_package_id(&mut self, root_pid: PackageID) -> Result<()>
pub fn set_as_workspace_member(&mut self, member_pid: PackageID) -> Result<()>
pub fn build(self) -> Result<Chastefile>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChastefileBuilder
impl RefUnwindSafe for ChastefileBuilder
impl Send for ChastefileBuilder
impl Sync for ChastefileBuilder
impl Unpin for ChastefileBuilder
impl UnwindSafe for ChastefileBuilder
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