pub struct PushStackingContextDisplayItem {
pub origin: LayoutPoint,
pub spatial_id: SpatialId,
pub prim_flags: PrimitiveFlags,
pub ref_frame_offset: LayoutVector2D,
pub stacking_context: StackingContext,
}
Fields§
§origin: LayoutPoint
§spatial_id: SpatialId
§prim_flags: PrimitiveFlags
§ref_frame_offset: LayoutVector2D
§stacking_context: StackingContext
Trait Implementations§
source§impl Clone for PushStackingContextDisplayItem
impl Clone for PushStackingContextDisplayItem
source§fn clone(&self) -> PushStackingContextDisplayItem
fn clone(&self) -> PushStackingContextDisplayItem
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 Default for PushStackingContextDisplayItem
impl Default for PushStackingContextDisplayItem
source§fn default() -> PushStackingContextDisplayItem
fn default() -> PushStackingContextDisplayItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PushStackingContextDisplayItem
impl<'de> Deserialize<'de> for PushStackingContextDisplayItem
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 PushStackingContextDisplayItem
impl PartialEq for PushStackingContextDisplayItem
source§fn eq(&self, other: &PushStackingContextDisplayItem) -> bool
fn eq(&self, other: &PushStackingContextDisplayItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PushStackingContextDisplayItem
impl StructuralPartialEq for PushStackingContextDisplayItem
Auto Trait Implementations§
impl Freeze for PushStackingContextDisplayItem
impl RefUnwindSafe for PushStackingContextDisplayItem
impl Send for PushStackingContextDisplayItem
impl Sync for PushStackingContextDisplayItem
impl Unpin for PushStackingContextDisplayItem
impl UnwindSafe for PushStackingContextDisplayItem
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