pub struct SyntheticRepository {
pub shape: Shape,
/* private fields */
}Expand description
A generated repository on disk, removed when dropped.
Fields§
§shape: ShapeThe shape it was built with.
Implementations§
Source§impl SyntheticRepository
impl SyntheticRepository
Sourcepub fn new(shape: Shape) -> Result<Self>
pub fn new(shape: Shape) -> Result<Self>
Generate a repository of this shape under the system’s temporary directory.
Sourcepub fn touch_rule(&self, i: usize, suffix: &str) -> Result<()>
pub fn touch_rule(&self, i: usize, suffix: &str) -> Result<()>
Change one rule’s body: the repository state, and so every fingerprint, moves.
Trait Implementations§
Source§impl Debug for SyntheticRepository
impl Debug for SyntheticRepository
Source§impl Drop for SyntheticRepository
impl Drop for SyntheticRepository
Auto Trait Implementations§
impl Freeze for SyntheticRepository
impl RefUnwindSafe for SyntheticRepository
impl Send for SyntheticRepository
impl Sync for SyntheticRepository
impl Unpin for SyntheticRepository
impl UnsafeUnpin for SyntheticRepository
impl UnwindSafe for SyntheticRepository
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