pub struct NativePlacement {
pub bounds: Rect,
pub order: PaintOrder,
pub opacity: f32,
}Expand description
Where one entity’s leaf belongs this frame, as NativeExtract resolved it.
Fields§
§bounds: RectBounds in window coordinates, with ancestor scroll offsets already applied.
order: PaintOrderPaint order for the entity’s position in the document.
opacity: f32The alpha the leaf’s own paints carry: the entity’s own opacity, unless the entity fades as a group with its children, times what ancestors outside any group holding it contribute. A group’s fade is a layer the backend composites, so it is not part of this figure.
Trait Implementations§
Source§impl Clone for NativePlacement
impl Clone for NativePlacement
Source§fn clone(&self) -> NativePlacement
fn clone(&self) -> NativePlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativePlacement
impl Debug for NativePlacement
Source§impl PartialEq for NativePlacement
impl PartialEq for NativePlacement
Source§fn eq(&self, other: &NativePlacement) -> bool
fn eq(&self, other: &NativePlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NativePlacement
impl StructuralPartialEq for NativePlacement
Auto Trait Implementations§
impl Freeze for NativePlacement
impl RefUnwindSafe for NativePlacement
impl Send for NativePlacement
impl Sync for NativePlacement
impl Unpin for NativePlacement
impl UnsafeUnpin for NativePlacement
impl UnwindSafe for NativePlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.