pub(crate) enum Placed<'a, W> {
Frame(&'a W, Frame),
ScrollContent(&'a W, Size),
}Expand description
Where layout puts a widget.
Variants§
Frame(&'a W, Frame)
The widget’s frame, relative to its parent’s content.
ScrollContent(&'a W, Size)
The size of the content a scroll area scrolls; its children are placed in it.
Auto Trait Implementations§
impl<'a, W> Freeze for Placed<'a, W>
impl<'a, W> RefUnwindSafe for Placed<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for Placed<'a, W>where
W: Sync,
impl<'a, W> Sync for Placed<'a, W>where
W: Sync,
impl<'a, W> Unpin for Placed<'a, W>
impl<'a, W> UnsafeUnpin for Placed<'a, W>
impl<'a, W> UnwindSafe for Placed<'a, W>where
W: RefUnwindSafe,
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