Struct chrome_remote_interface_model::layer_tree::PictureTile[][src]

pub struct PictureTile { /* fields omitted */ }
This is supported on crate features experimental and LayerTree and DOM only.

Serialized fragment of layer picture along with its offset within the layer.

Implementations

impl PictureTile[src]

pub fn new(x: f64, y: f64, picture: String) -> Self[src]

pub fn x(&self) -> f64[src]

Offset from owning layer left boundary

pub fn y(&self) -> f64[src]

Offset from owning layer top boundary

pub fn picture(&self) -> &str[src]

Base64-encoded snapshot data.

Trait Implementations

impl Clone for PictureTile[src]

impl Debug for PictureTile[src]

impl<'de> Deserialize<'de> for PictureTile[src]

impl Serialize for PictureTile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.