pub struct ValidatedEditPlan<'plan> { /* private fields */ }Expand description
Proof that an edit plan passed structural, evidence, path, and budget checks.
Implementations§
Source§impl<'plan> ValidatedEditPlan<'plan>
impl<'plan> ValidatedEditPlan<'plan>
pub const fn plan(self) -> &'plan EditPlan
pub const fn total_edits(self) -> usize
pub const fn total_text_bytes(self) -> usize
Trait Implementations§
Source§impl<'plan> Clone for ValidatedEditPlan<'plan>
impl<'plan> Clone for ValidatedEditPlan<'plan>
Source§fn clone(&self) -> ValidatedEditPlan<'plan>
fn clone(&self) -> ValidatedEditPlan<'plan>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'plan> Copy for ValidatedEditPlan<'plan>
Auto Trait Implementations§
impl<'plan> Freeze for ValidatedEditPlan<'plan>
impl<'plan> RefUnwindSafe for ValidatedEditPlan<'plan>
impl<'plan> Send for ValidatedEditPlan<'plan>
impl<'plan> Sync for ValidatedEditPlan<'plan>
impl<'plan> Unpin for ValidatedEditPlan<'plan>
impl<'plan> UnsafeUnpin for ValidatedEditPlan<'plan>
impl<'plan> UnwindSafe for ValidatedEditPlan<'plan>
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