[][src]Struct azul_webrender_api::SpaceAndClipInfo

pub struct SpaceAndClipInfo {
    pub spatial_id: SpatialId,
    pub clip_id: ClipId,
}

Per-primitive information about the nodes in the clip tree and the spatial tree that the primitive belongs to.

Note: this is a separate struct from PrimitiveInfo because it needs indirectional mapping during the DL flattening phase, turning into ScrollNodeAndClipChain.

Fields

spatial_id: SpatialIdclip_id: ClipId

Implementations

impl SpaceAndClipInfo[src]

pub fn root_scroll(pipeline_id: PipelineId) -> Self[src]

Create a new space/clip info associated with the root scroll frame.

Trait Implementations

impl Clone for SpaceAndClipInfo[src]

impl Copy for SpaceAndClipInfo[src]

impl Debug for SpaceAndClipInfo[src]

impl Default for SpaceAndClipInfo[src]

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

impl PartialEq<SpaceAndClipInfo> for SpaceAndClipInfo[src]

impl Peek for SpaceAndClipInfo[src]

impl Poke for SpaceAndClipInfo[src]

impl Serialize for SpaceAndClipInfo[src]

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