pub struct MeasureCx {
pub constraint: Constraint,
}Expand description
测量上下文——组件通过它测量自身和子组件的自适应尺寸
Fields§
§constraint: ConstraintAuto Trait Implementations§
impl Freeze for MeasureCx
impl RefUnwindSafe for MeasureCx
impl Send for MeasureCx
impl Sync for MeasureCx
impl Unpin for MeasureCx
impl UnsafeUnpin for MeasureCx
impl UnwindSafe for MeasureCx
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