pub struct LayoutInformation;Expand description
Provides access to layout information of a control.
Implementations§
Source§impl LayoutInformation
impl LayoutInformation
Sourcepub fn get_previous_measure_constraint(control: &Layoutable) -> Option<Size>
pub fn get_previous_measure_constraint(control: &Layoutable) -> Option<Size>
Gets the available size constraint passed in the previous layout pass.
Returns the previous control measure constraint, if any.
Sourcepub fn get_previous_arrange_bounds(control: &Layoutable) -> Option<Rect>
pub fn get_previous_arrange_bounds(control: &Layoutable) -> Option<Rect>
Gets the control bounds used in the previous layout arrange pass.
Returns the previous control arrange bounds, if any.
Auto Trait Implementations§
impl Freeze for LayoutInformation
impl RefUnwindSafe for LayoutInformation
impl Send for LayoutInformation
impl Sync for LayoutInformation
impl Unpin for LayoutInformation
impl UnsafeUnpin for LayoutInformation
impl UnwindSafe for LayoutInformation
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more