[][src]Struct azul_webrender_api::SpatialId

pub struct SpatialId(pub usize, _);

A reference to a spatial node defining item positioning.

Implementations

impl SpatialId[src]

pub fn new(spatial_node_index: usize, pipeline_id: PipelineId) -> Self[src]

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

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

pub fn pipeline_id(&self) -> PipelineId[src]

pub fn is_root_reference_frame(&self) -> bool[src]

pub fn is_root_scroll_node(&self) -> bool[src]

Trait Implementations

impl Clone for SpatialId[src]

impl Copy for SpatialId[src]

impl Debug for SpatialId[src]

impl Default for SpatialId[src]

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

impl Eq for SpatialId[src]

impl Hash for SpatialId[src]

impl PartialEq<SpatialId> for SpatialId[src]

impl Peek for SpatialId[src]

impl Poke for SpatialId[src]

impl Serialize for SpatialId[src]

impl StructuralEq for SpatialId[src]

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