pub struct DisplayListFrame {
pub size: LayoutSize,
pub position: PositionInfo,
pub border_radius: StyleBorderRadius,
pub tag: Option<TagId>,
pub content: Vec<LayoutRectContent>,
pub children: Vec<DisplayListMsg>,
pub flags: PrimitiveFlags,
}
Fields§
§size: LayoutSize
§position: PositionInfo
§border_radius: StyleBorderRadius
Border radius, set to none only if overflow: visible is set!
tag: Option<TagId>
§content: Vec<LayoutRectContent>
§children: Vec<DisplayListMsg>
§flags: PrimitiveFlags
Implementations§
Source§impl DisplayListFrame
impl DisplayListFrame
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 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 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)