pub struct ScanProps {
pub continuous_scan: bool,
pub bouncy_scan: bool,
pub autosave: AutosaveMode,
pub series_name: String,
pub comment: String,
pub modules_names: Vec<String>,
pub num_params_per_module: Vec<i32>,
pub parameters: Vec<Vec<String>>,
pub autopaste: AutopasteMode,
}Fields§
§continuous_scan: boolContinuous scan: whether scan continues after frame completion
bouncy_scan: boolBouncy scan: whether scan direction changes after frame completion
autosave: AutosaveModeAutosave mode: All, Next, or Off
series_name: StringBase name for saved images
comment: StringComment saved in file
modules_names: Vec<String>Module names whose parameters are saved in image header
num_params_per_module: Vec<i32>Number of parameters per module (read-only, returned by GET)
parameters: Vec<Vec<String>>Parameters for each module - 2D array: rows = modules, columns = parameters (read-only, returned by GET)
autopaste: AutopasteModeAutopaste mode: All, Next, or Off
Implementations§
Source§impl ScanProps
impl ScanProps
Sourcepub fn to_builder(&self) -> ScanPropsBuilder
pub fn to_builder(&self) -> ScanPropsBuilder
Create a builder for modifying scan properties. Use this to set only the properties you want to change.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanProps
impl RefUnwindSafe for ScanProps
impl Send for ScanProps
impl Sync for ScanProps
impl Unpin for ScanProps
impl UnwindSafe for ScanProps
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