pub struct ExportOptions {
pub format: ExportFormat,
pub weights_filename: PathBuf,
pub metadata_filename: PathBuf,
pub include_metadata: bool,
pub overwrite: bool,
}Fields§
§format: ExportFormat§weights_filename: PathBuf§metadata_filename: PathBuf§include_metadata: bool§overwrite: boolImplementations§
Source§impl ExportOptions
impl ExportOptions
pub fn new(format: ExportFormat, input_path: Option<&Path>) -> Self
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Source§fn clone(&self) -> ExportOptions
fn clone(&self) -> ExportOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptions
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