[][src]Enum azul_webrender_api::RasterSpace

#[repr(u8)]pub enum RasterSpace {
    Local(f32),
    Screen,
}

Configure whether the contents of a stacking context should be rasterized in local space or screen space. Local space rasterized pictures are typically used when we want to cache the output, and performance is important. Note that this is a performance hint only, which WR may choose to ignore.

Variants

Local(f32)
Screen

Implementations

impl RasterSpace[src]

pub fn local_scale(self) -> Option<f32>[src]

Trait Implementations

impl Clone for RasterSpace[src]

impl Copy for RasterSpace[src]

impl Debug for RasterSpace[src]

impl Default for RasterSpace[src]

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

impl PartialEq<RasterSpace> for RasterSpace[src]

impl Peek for RasterSpace[src]

impl Poke for RasterSpace[src]

impl Serialize for RasterSpace[src]

impl StructuralPartialEq for RasterSpace[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.