pub struct ScreencastFrameEventParamsBuilder { /* private fields */ }Expand description
Builder for ScreencastFrameEventParams.
Implementations§
Source§impl ScreencastFrameEventParamsBuilder
impl ScreencastFrameEventParamsBuilder
Sourcepub fn metadata(&mut self, value: ScreencastFrameMetadata) -> &mut Self
pub fn metadata(&mut self, value: ScreencastFrameMetadata) -> &mut Self
Screencast frame metadata.
Sourcepub fn session_id(&mut self, value: JsUInt) -> &mut Self
pub fn session_id(&mut self, value: JsUInt) -> &mut Self
Frame number.
Sourcepub fn build(
&self,
) -> Result<ScreencastFrameEventParams, ScreencastFrameEventParamsBuilderError>
pub fn build( &self, ) -> Result<ScreencastFrameEventParams, ScreencastFrameEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for ScreencastFrameEventParamsBuilder
impl Clone for ScreencastFrameEventParamsBuilder
Source§fn clone(&self) -> ScreencastFrameEventParamsBuilder
fn clone(&self) -> ScreencastFrameEventParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for ScreencastFrameEventParamsBuilder
impl RefUnwindSafe for ScreencastFrameEventParamsBuilder
impl Send for ScreencastFrameEventParamsBuilder
impl Sync for ScreencastFrameEventParamsBuilder
impl Unpin for ScreencastFrameEventParamsBuilder
impl UnsafeUnpin for ScreencastFrameEventParamsBuilder
impl UnwindSafe for ScreencastFrameEventParamsBuilder
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