Struct zng_webrender_api::SpatialNodeInfo
source · pub struct SpatialNodeInfo { /* private fields */ }
Expand description
A small portion of a normal spatial node that we store during DL construction to enable snapping and reference frame <-> stacking context coord mapping. In future we’ll aim to remove this and have the full spatial tree available during DL build.
Trait Implementations§
source§impl Clone for SpatialNodeInfo
impl Clone for SpatialNodeInfo
source§fn clone(&self) -> SpatialNodeInfo
fn clone(&self) -> SpatialNodeInfo
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SpatialNodeInfo
impl RefUnwindSafe for SpatialNodeInfo
impl Send for SpatialNodeInfo
impl Sync for SpatialNodeInfo
impl Unpin for SpatialNodeInfo
impl UnwindSafe for SpatialNodeInfo
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