pub enum ImageUpdate {
Owner(BlockId),
Asset(AssetHash),
Rect(ScreenRect),
}Variants§
Trait Implementations§
Source§impl Clone for ImageUpdate
impl Clone for ImageUpdate
Source§fn clone(&self) -> ImageUpdate
fn clone(&self) -> ImageUpdate
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 Debug for ImageUpdate
impl Debug for ImageUpdate
Source§impl<'de> Deserialize<'de> for ImageUpdate
impl<'de> Deserialize<'de> for ImageUpdate
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 PartialEq for ImageUpdate
impl PartialEq for ImageUpdate
Source§impl Serialize for ImageUpdate
impl Serialize for ImageUpdate
impl StructuralPartialEq for ImageUpdate
Auto Trait Implementations§
impl Freeze for ImageUpdate
impl RefUnwindSafe for ImageUpdate
impl Send for ImageUpdate
impl Sync for ImageUpdate
impl Unpin for ImageUpdate
impl UnsafeUnpin for ImageUpdate
impl UnwindSafe for ImageUpdate
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