pub struct BackendOptions {
pub show_windows: bool,
pub record_commands: bool,
pub appearance: Option<Appearance>,
pub private_clipboard: bool,
pub locale: Option<String>,
}Expand description
How the backend behaves; apps and tests want different things.
Fields§
§show_windows: boolOrder windows front once their first layout is applied. Tests keep windows offscreen: layout, events and capture all work without it.
record_commands: boolKeep a log of applied commands (for tests).
appearance: Option<Appearance>Force this appearance, so captures are comparable across machines regardless of system settings.
private_clipboard: boolUse a private pasteboard instead of the system clipboard (tests).
locale: Option<String>Take this as the user’s language, and write numbers and dates as its region does, in UTC, whatever the system’s settings (tests).
Trait Implementations§
Source§impl Clone for BackendOptions
impl Clone for BackendOptions
Source§impl Debug for BackendOptions
impl Debug for BackendOptions
Auto Trait Implementations§
impl Forget for BackendOptions
impl Freeze for BackendOptions
impl Move for BackendOptions
impl RefUnwindSafe for BackendOptions
impl Send for BackendOptions
impl Sync for BackendOptions
impl Unpin for BackendOptions
impl UnsafeUnpin for BackendOptions
impl UnwindSafe for BackendOptions
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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