pub struct UserParams {
pub overwrite: bool,
pub swap_bytes: bool,
}
Expand description
Holds the user parameters for the conversion
Fields§
§overwrite: bool
If true
, files will be overwritten
swap_bytes: bool
If true
, EEP & FLASHRAM data will be word-swapped
Trait Implementations§
Source§impl Clone for UserParams
impl Clone for UserParams
Source§fn clone(&self) -> UserParams
fn clone(&self) -> UserParams
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 moreSource§impl Debug for UserParams
impl Debug for UserParams
Source§impl Default for UserParams
impl Default for UserParams
Source§fn default() -> UserParams
fn default() -> UserParams
Returns the “default value” for a type. Read more
impl Copy for UserParams
Auto Trait Implementations§
impl Freeze for UserParams
impl RefUnwindSafe for UserParams
impl Send for UserParams
impl Sync for UserParams
impl Unpin for UserParams
impl UnwindSafe for UserParams
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