pub struct ReplaySnapshot {
pub method: ReplaySnapshotMethod,
pub params: ReplaySnapshotParams,
}Expand description
Replays the layer snapshot and returns the resulting bitmap. replaySnapshot
Fields§
§method: ReplaySnapshotMethod§params: ReplaySnapshotParamsImplementations§
Source§impl ReplaySnapshot
impl ReplaySnapshot
pub fn builder() -> ReplaySnapshotBuilder
Source§impl ReplaySnapshot
impl ReplaySnapshot
pub const IDENTIFIER: &'static str = "LayerTree.replaySnapshot"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ReplaySnapshot
impl Clone for ReplaySnapshot
Source§fn clone(&self) -> ReplaySnapshot
fn clone(&self) -> ReplaySnapshot
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 moreSource§impl CommandResult for ReplaySnapshot
impl CommandResult for ReplaySnapshot
type Result = ReplaySnapshotResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ReplaySnapshot
impl Debug for ReplaySnapshot
Source§impl<'de> Deserialize<'de> for ReplaySnapshot
impl<'de> Deserialize<'de> for ReplaySnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ReplaySnapshot> for BrowserProtocolCommands
impl From<ReplaySnapshot> for BrowserProtocolCommands
Source§fn from(v: ReplaySnapshot) -> Self
fn from(v: ReplaySnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReplaySnapshot> for Command
impl From<ReplaySnapshot> for Command
Source§fn from(v: ReplaySnapshot) -> Self
fn from(v: ReplaySnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReplaySnapshot> for LayerTreeCommands
impl From<ReplaySnapshot> for LayerTreeCommands
Source§fn from(v: ReplaySnapshot) -> Self
fn from(v: ReplaySnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReplaySnapshot
impl PartialEq for ReplaySnapshot
Source§impl Serialize for ReplaySnapshot
impl Serialize for ReplaySnapshot
Source§impl TryFrom<BrowserProtocolCommands> for ReplaySnapshot
impl TryFrom<BrowserProtocolCommands> for ReplaySnapshot
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ReplaySnapshot as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ReplaySnapshot as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ReplaySnapshot
impl TryFrom<Command> for ReplaySnapshot
Source§impl TryFrom<LayerTreeCommands> for ReplaySnapshot
impl TryFrom<LayerTreeCommands> for ReplaySnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <ReplaySnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <ReplaySnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ReplaySnapshot
Auto Trait Implementations§
impl Freeze for ReplaySnapshot
impl RefUnwindSafe for ReplaySnapshot
impl Send for ReplaySnapshot
impl Sync for ReplaySnapshot
impl Unpin for ReplaySnapshot
impl UnsafeUnpin for ReplaySnapshot
impl UnwindSafe for ReplaySnapshot
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