pub struct DivFrameState { /* private fields */ }Expand description
A frame state for a Div element, which contains layout IDs for its children.
This struct is used internally by the Div element to manage the layout state of its children
during the UI update cycle. It holds a small vector of LayoutId values, each corresponding to
a child element of the Div. These IDs are used to query the layout engine for the computed
bounds of the children after the layout phase is complete.
Auto Trait Implementations§
impl Freeze for DivFrameState
impl RefUnwindSafe for DivFrameState
impl Send for DivFrameState
impl Sync for DivFrameState
impl Unpin for DivFrameState
impl UnsafeUnpin for DivFrameState
impl UnwindSafe for DivFrameState
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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