Struct geng_ui::ConstraintsContext
source · pub struct ConstraintsContext<'a> {
pub theme: &'a Theme,
/* private fields */
}
Fields§
§theme: &'a Theme
Implementations§
source§impl ConstraintsContext<'_>
impl ConstraintsContext<'_>
pub fn get_constraints(&self, widget: &dyn Widget) -> Constraints
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ConstraintsContext<'a>
impl<'a> !Send for ConstraintsContext<'a>
impl<'a> !Sync for ConstraintsContext<'a>
impl<'a> Unpin for ConstraintsContext<'a>
impl<'a> !UnwindSafe for ConstraintsContext<'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