pub struct Preview { /* private fields */ }Implementations§
Source§impl Preview
impl Preview
pub fn prepare( host: &HostContext, root: &Path, temporary: &[String], resume: bool, ) -> Result<Self>
pub fn scope(&self) -> (&Path, &BTreeSet<String>)
pub fn is_resume(&self) -> bool
pub fn has_tools(&self) -> bool
pub fn blocked(&self) -> bool
pub fn review(&self) -> Review<'_>
pub fn human(&self) -> String
pub fn approve(self) -> Result<Approval>
Auto Trait Implementations§
impl Forget for Preview
impl Freeze for Preview
impl Move for Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnsafeUnpin for Preview
impl UnwindSafe for Preview
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