pub struct LayoutBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> LayoutBuilder<'a>
impl<'a> LayoutBuilder<'a>
pub fn new(layout_ctx: &'a LayoutContext) -> Self
pub fn ctx(&self) -> &'a LayoutContext
pub fn push_widget<W: RawWidget<'a> + 'a>(&mut self, widget: W)
pub fn push_constraint(&mut self, prop: Prop<'a>)
pub fn build(self) -> Result<BuildReport<'a>>
Auto Trait Implementations§
impl<'a> Freeze for LayoutBuilder<'a>
impl<'a> !RefUnwindSafe for LayoutBuilder<'a>
impl<'a> !Send for LayoutBuilder<'a>
impl<'a> !Sync for LayoutBuilder<'a>
impl<'a> Unpin for LayoutBuilder<'a>
impl<'a> !UnwindSafe for LayoutBuilder<'a>
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