pub struct Screenshot {
pub board: Option<String>,
pub path: PathBuf,
}Expand description
--screenshot [<board>@]FILE: which display to capture, and where.
Fields§
§board: Option<String>The board whose display to capture; None means the first board that
has a framebuffer.
path: PathBufTrait Implementations§
Source§impl Clone for Screenshot
impl Clone for Screenshot
Auto Trait Implementations§
impl Forget for Screenshot
impl Freeze for Screenshot
impl Move for Screenshot
impl RefUnwindSafe for Screenshot
impl Send for Screenshotwhere
RawVecInner: Send,
impl Sync for Screenshotwhere
RawVecInner: Sync,
impl Unpin for Screenshot
impl UnsafeUnpin for Screenshot
impl UnwindSafe for Screenshotwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more