pub struct BinaryWriteBuilder<'et> { /* private fields */ }Expand description
二进制数据写入构建器
Implementations§
Source§impl<'et> BinaryWriteBuilder<'et>
impl<'et> BinaryWriteBuilder<'et>
Sourcepub fn jpeg_preview(self, data: Vec<u8>) -> Self
pub fn jpeg_preview(self, data: Vec<u8>) -> Self
设置 JPEG 预览
Sourcepub fn overwrite_original(self, yes: bool) -> Self
pub fn overwrite_original(self, yes: bool) -> Self
覆盖原始文件
Sourcepub fn execute(self) -> Result<BinaryWriteResult>
pub fn execute(self) -> Result<BinaryWriteResult>
执行写入
Auto Trait Implementations§
impl<'et> Freeze for BinaryWriteBuilder<'et>
impl<'et> RefUnwindSafe for BinaryWriteBuilder<'et>
impl<'et> Send for BinaryWriteBuilder<'et>
impl<'et> Sync for BinaryWriteBuilder<'et>
impl<'et> Unpin for BinaryWriteBuilder<'et>
impl<'et> UnsafeUnpin for BinaryWriteBuilder<'et>
impl<'et> UnwindSafe for BinaryWriteBuilder<'et>
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