pub struct TranslationBatch {
pub root: Sha1Id,
pub emitted: usize,
}Expand description
Result of translating one closure: the root’s git id plus how many
new objects were emitted (objects already in known are skipped).
Fields§
§root: Sha1Id§emitted: usizeTrait Implementations§
Source§impl Clone for TranslationBatch
impl Clone for TranslationBatch
Source§fn clone(&self) -> TranslationBatch
fn clone(&self) -> TranslationBatch
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 Copy for TranslationBatch
Source§impl Debug for TranslationBatch
impl Debug for TranslationBatch
impl Eq for TranslationBatch
Source§impl PartialEq for TranslationBatch
impl PartialEq for TranslationBatch
Source§fn eq(&self, other: &TranslationBatch) -> bool
fn eq(&self, other: &TranslationBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranslationBatch
Auto Trait Implementations§
impl Freeze for TranslationBatch
impl RefUnwindSafe for TranslationBatch
impl Send for TranslationBatch
impl Sync for TranslationBatch
impl Unpin for TranslationBatch
impl UnsafeUnpin for TranslationBatch
impl UnwindSafe for TranslationBatch
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