Struct webrender_api::display_item::ReferenceFrame
source · pub struct ReferenceFrame {
pub kind: ReferenceFrameKind,
pub transform_style: TransformStyle,
pub transform: ReferenceTransformBinding,
pub id: SpatialId,
pub key: SpatialTreeItemKey,
}
Fields§
§kind: ReferenceFrameKind
§transform_style: TransformStyle
§transform: ReferenceTransformBinding
The transform matrix, either the perspective matrix or the transform matrix.
id: SpatialId
§key: SpatialTreeItemKey
A unique (per-pipeline) key for this spatial that is stable across display lists.
Trait Implementations§
source§impl Clone for ReferenceFrame
impl Clone for ReferenceFrame
source§fn clone(&self) -> ReferenceFrame
fn clone(&self) -> ReferenceFrame
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 moresource§impl Debug for ReferenceFrame
impl Debug for ReferenceFrame
source§impl Default for ReferenceFrame
impl Default for ReferenceFrame
source§fn default() -> ReferenceFrame
fn default() -> ReferenceFrame
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReferenceFrame
impl<'de> Deserialize<'de> for ReferenceFrame
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ReferenceFrame
impl PartialEq for ReferenceFrame
source§fn eq(&self, other: &ReferenceFrame) -> bool
fn eq(&self, other: &ReferenceFrame) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for ReferenceFrame
impl Peek for ReferenceFrame
source§impl Poke for ReferenceFrame
impl Poke for ReferenceFrame
source§impl Serialize for ReferenceFrame
impl Serialize for ReferenceFrame
impl Copy for ReferenceFrame
impl StructuralPartialEq for ReferenceFrame
Auto Trait Implementations§
impl Freeze for ReferenceFrame
impl RefUnwindSafe for ReferenceFrame
impl Send for ReferenceFrame
impl Sync for ReferenceFrame
impl Unpin for ReferenceFrame
impl UnwindSafe for ReferenceFrame
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