#[repr(C)]pub struct SnapshotImageKey(pub ImageKey);
Expand description
An opaque identifier describing a snapshot image registered with WebRender. This is used as a handle to reference snapshot images, and can be used as an image in display items.
Tuple Fields§
§0: ImageKey
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotImageKey
impl Clone for SnapshotImageKey
Source§fn clone(&self) -> SnapshotImageKey
fn clone(&self) -> SnapshotImageKey
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 SnapshotImageKey
impl Debug for SnapshotImageKey
Source§impl Default for SnapshotImageKey
impl Default for SnapshotImageKey
Source§impl<'de> Deserialize<'de> for SnapshotImageKey
impl<'de> Deserialize<'de> for SnapshotImageKey
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 Hash for SnapshotImageKey
impl Hash for SnapshotImageKey
Source§impl PartialEq for SnapshotImageKey
impl PartialEq for SnapshotImageKey
Source§impl Peek for SnapshotImageKey
impl Peek for SnapshotImageKey
Source§impl Poke for SnapshotImageKey
impl Poke for SnapshotImageKey
Source§impl Serialize for SnapshotImageKey
impl Serialize for SnapshotImageKey
impl Copy for SnapshotImageKey
impl Eq for SnapshotImageKey
impl StructuralPartialEq for SnapshotImageKey
Auto Trait Implementations§
impl Freeze for SnapshotImageKey
impl RefUnwindSafe for SnapshotImageKey
impl Send for SnapshotImageKey
impl Sync for SnapshotImageKey
impl Unpin for SnapshotImageKey
impl UnwindSafe for SnapshotImageKey
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