pub struct DisplayListFrame {Show 13 fields
pub size: LogicalSize,
pub position: PositionInfo,
pub flags: PrimitiveFlags,
pub mix_blend_mode: Option<StyleMixBlendMode>,
pub clip_children: Option<LogicalSize>,
pub clip_mask: Option<DisplayListImageMask>,
pub border_radius: StyleBorderRadius,
pub tag: Option<TagId>,
pub box_shadow: Option<BoxShadow>,
pub transform: Option<(TransformKey, ComputedTransform3D)>,
pub opacity: Option<(OpacityKey, f32)>,
pub content: Vec<LayoutRectContent>,
pub children: Vec<DisplayListMsg>,
}Fields§
§size: LogicalSize§position: PositionInfo§flags: PrimitiveFlags§mix_blend_mode: Option<StyleMixBlendMode>§clip_children: Option<LogicalSize>§clip_mask: Option<DisplayListImageMask>§border_radius: StyleBorderRadiusBorder radius, set to none only if overflow: visible is set!
tag: Option<TagId>§box_shadow: Option<BoxShadow>§transform: Option<(TransformKey, ComputedTransform3D)>§opacity: Option<(OpacityKey, f32)>§content: Vec<LayoutRectContent>§children: Vec<DisplayListMsg>Implementations§
Source§impl DisplayListFrame
impl DisplayListFrame
pub fn scale_for_dpi(&mut self, scale_factor: f32)
pub fn root(dimensions: LayoutSize, root_origin: LayoutPoint) -> Self
Trait Implementations§
Source§impl Clone for DisplayListFrame
impl Clone for DisplayListFrame
Source§fn clone(&self) -> DisplayListFrame
fn clone(&self) -> DisplayListFrame
Returns a duplicate 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 DisplayListFrame
impl Debug for DisplayListFrame
Source§impl PartialEq for DisplayListFrame
impl PartialEq for DisplayListFrame
Source§impl PartialOrd for DisplayListFrame
impl PartialOrd for DisplayListFrame
impl StructuralPartialEq for DisplayListFrame
Auto Trait Implementations§
impl Freeze for DisplayListFrame
impl RefUnwindSafe for DisplayListFrame
impl Send for DisplayListFrame
impl Sync for DisplayListFrame
impl Unpin for DisplayListFrame
impl UnwindSafe for DisplayListFrame
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more