pub struct ReplaySnapshotCommand { /* private fields */ }
Available on crate features
experimental
and LayerTree
and DOM
only.Expand description
Replays the layer snapshot and returns the resulting bitmap.
Implementations§
Source§impl ReplaySnapshotCommand
impl ReplaySnapshotCommand
pub fn builder() -> ReplaySnapshotCommandBuilder
Sourcepub fn snapshot_id(&self) -> &SnapshotId
pub fn snapshot_id(&self) -> &SnapshotId
The id of the layer snapshot.
Sourcepub fn from_step(&self) -> Option<&u32>
pub fn from_step(&self) -> Option<&u32>
The first step to replay from (replay from the very start if not specified).
Trait Implementations§
Source§impl Clone for ReplaySnapshotCommand
impl Clone for ReplaySnapshotCommand
Source§fn clone(&self) -> ReplaySnapshotCommand
fn clone(&self) -> ReplaySnapshotCommand
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 Command for ReplaySnapshotCommand
impl Command for ReplaySnapshotCommand
Source§impl Debug for ReplaySnapshotCommand
impl Debug for ReplaySnapshotCommand
Source§impl<'de> Deserialize<'de> for ReplaySnapshotCommand
impl<'de> Deserialize<'de> for ReplaySnapshotCommand
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
Auto Trait Implementations§
impl Freeze for ReplaySnapshotCommand
impl RefUnwindSafe for ReplaySnapshotCommand
impl Send for ReplaySnapshotCommand
impl Sync for ReplaySnapshotCommand
impl Unpin for ReplaySnapshotCommand
impl UnwindSafe for ReplaySnapshotCommand
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