pub struct PictureTile {
pub x: f64,
pub y: f64,
pub picture: String,
}Expand description
Serialized fragment of layer picture along with its offset within the layer.
Fields§
§x: f64Offset from owning layer left boundary
y: f64Offset from owning layer top boundary
picture: StringBase64-encoded snapshot data. (Encoded as a base64 string when passed over JSON)
Trait Implementations§
Source§impl Clone for PictureTile
impl Clone for PictureTile
Source§fn clone(&self) -> PictureTile
fn clone(&self) -> PictureTile
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 PictureTile
impl Debug for PictureTile
Source§impl Default for PictureTile
impl Default for PictureTile
Source§fn default() -> PictureTile
fn default() -> PictureTile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PictureTile
impl<'de> Deserialize<'de> for PictureTile
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 PictureTile
impl RefUnwindSafe for PictureTile
impl Send for PictureTile
impl Sync for PictureTile
impl Unpin for PictureTile
impl UnsafeUnpin for PictureTile
impl UnwindSafe for PictureTile
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