pub struct FileSaverBuilder { /* private fields */ }
Implementations§
Source§impl FileSaverBuilder
impl FileSaverBuilder
pub fn new() -> Self
pub fn build(self) -> FileSaver
pub fn buffer<P: IsA<Buffer>>(self, buffer: &P) -> Self
pub fn compression_type(self, compression_type: CompressionType) -> Self
pub fn encoding(self, encoding: &Encoding) -> Self
pub fn file<P: IsA<File>>(self, file: &P) -> Self
pub fn flags(self, flags: FileSaverFlags) -> Self
pub fn location<P: IsA<File>>(self, location: &P) -> Self
pub fn newline_type(self, newline_type: NewlineType) -> Self
Trait Implementations§
Source§impl Clone for FileSaverBuilder
impl Clone for FileSaverBuilder
Source§fn clone(&self) -> FileSaverBuilder
fn clone(&self) -> FileSaverBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FileSaverBuilder
impl Default for FileSaverBuilder
Source§fn default() -> FileSaverBuilder
fn default() -> FileSaverBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileSaverBuilder
impl RefUnwindSafe for FileSaverBuilder
impl !Send for FileSaverBuilder
impl !Sync for FileSaverBuilder
impl Unpin for FileSaverBuilder
impl UnwindSafe for FileSaverBuilder
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