pub struct OpenedRustLib { /* private fields */ }Expand description
A managed Rust library whose complete file set was loaded when it was opened.
Implementations§
Source§impl OpenedRustLib
impl OpenedRustLib
pub fn name(&self) -> &str
pub fn files(&self) -> &[RustLibFile]
Sourcepub fn docs(&self) -> &RustLibDocs
pub fn docs(&self) -> &RustLibDocs
Return only the canonical version and agent-facing documentation text.
Sourcepub fn write(&mut self, files: &[RustLibFile]) -> Result<()>
pub fn write(&mut self, files: &[RustLibFile]) -> Result<()>
Create or completely overwrite every file in the supplied batch.
Sourcepub fn check(&self) -> Result<CheckResult>
pub fn check(&self) -> Result<CheckResult>
Run the complete Rust quality and test pipeline in disposable Podman containers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenedRustLib
impl RefUnwindSafe for OpenedRustLib
impl Send for OpenedRustLib
impl Sync for OpenedRustLib
impl Unpin for OpenedRustLib
impl UnsafeUnpin for OpenedRustLib
impl UnwindSafe for OpenedRustLib
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