pub struct BrowserCaptureBuilder {
pub context: Option<SupportedContext>,
pub canvas: Option<SupportedCanvas>,
pub color: Option<CaptureColor>,
pub options: Option<SupportedOptions>,
}
Fields§
§context: Option<SupportedContext>
§canvas: Option<SupportedCanvas>
§color: Option<CaptureColor>
§options: Option<SupportedOptions>
Implementations§
Source§impl BrowserCaptureBuilder
impl BrowserCaptureBuilder
pub fn color(self, color: CaptureColor) -> Self
pub fn canvas(self, canvas: SupportedCanvas) -> Self
pub fn context(self, context: SupportedContext) -> Self
pub fn options(self, options: SupportedOptions) -> Self
pub fn build(self) -> Option<Result<BrowserCapture, Error>>
Trait Implementations§
Source§impl Clone for BrowserCaptureBuilder
impl Clone for BrowserCaptureBuilder
Source§fn clone(&self) -> BrowserCaptureBuilder
fn clone(&self) -> BrowserCaptureBuilder
Returns a copy 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 BrowserCaptureBuilder
impl Debug for BrowserCaptureBuilder
Source§impl Default for BrowserCaptureBuilder
impl Default for BrowserCaptureBuilder
Source§fn default() -> BrowserCaptureBuilder
fn default() -> BrowserCaptureBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for BrowserCaptureBuilder
impl PartialEq for BrowserCaptureBuilder
impl Eq for BrowserCaptureBuilder
impl StructuralPartialEq for BrowserCaptureBuilder
Auto Trait Implementations§
impl Freeze for BrowserCaptureBuilder
impl RefUnwindSafe for BrowserCaptureBuilder
impl Send for BrowserCaptureBuilder
impl Sync for BrowserCaptureBuilder
impl Unpin for BrowserCaptureBuilder
impl UnwindSafe for BrowserCaptureBuilder
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