pub struct Context { /* private fields */ }Expand description
A build context.
Implementations§
Source§impl Context
impl Context
Sourcepub fn builder() -> ContextBuilder
pub fn builder() -> ContextBuilder
Create a new ContextBuilder.
Sourcepub fn build_dist_targets(&self, options: &BuildOptions) -> Result<()>
pub fn build_dist_targets(&self, options: &BuildOptions) -> Result<()>
Build all the collected distribution targets.
Auto Trait Implementations§
impl Freeze for Context
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
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