pub struct OofLayoutResult {
pub hoisted: Vec<NodeId>,
pub unclaimed: OofCandidates,
pub scrollable_overflow_rect: Rect<f32>,
}Expand description
The result of laying out out-of-flow candidates against an explicit positioning area.
Fields§
§hoisted: Vec<NodeId>Candidates claimed and laid out by this pass, in document order.
unclaimed: OofCandidatesCandidates not claimed by this pass, which must continue bubbling.
scrollable_overflow_rect: Rect<f32>Scrollable overflow contributed by the claimed candidates, relative to the positioning area’s inner top-left edge, in physical coordinates (RTL is not mirrored).
Auto Trait Implementations§
impl Freeze for OofLayoutResult
impl RefUnwindSafe for OofLayoutResult
impl Send for OofLayoutResult
impl Sync for OofLayoutResult
impl Unpin for OofLayoutResult
impl UnsafeUnpin for OofLayoutResult
impl UnwindSafe for OofLayoutResult
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