pub struct EncodeOpts {
pub write_hash: bool,
pub mark_canonical: bool,
pub streamed: bool,
}Expand description
Encode options.
Fields§
§write_hash: boolStore the full 32-byte Blake3 content hash.
mark_canonical: boolMark the image canonical (the encoder always writes canonical form).
streamed: boolPreserve the streamed flag when re-encoding a reassembled module.
Trait Implementations§
Source§impl Clone for EncodeOpts
impl Clone for EncodeOpts
impl Copy for EncodeOpts
Source§impl Debug for EncodeOpts
impl Debug for EncodeOpts
Source§impl Default for EncodeOpts
impl Default for EncodeOpts
impl Eq for EncodeOpts
Source§impl PartialEq for EncodeOpts
impl PartialEq for EncodeOpts
impl StructuralPartialEq for EncodeOpts
Auto Trait Implementations§
impl Freeze for EncodeOpts
impl RefUnwindSafe for EncodeOpts
impl Send for EncodeOpts
impl Sync for EncodeOpts
impl Unpin for EncodeOpts
impl UnsafeUnpin for EncodeOpts
impl UnwindSafe for EncodeOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.