pub struct UiSplitRegion {
pub first: PixelRect,
pub handle: PixelRect,
pub second: PixelRect,
pub changed: bool,
}Expand description
Return value from crate::ui::Ui::split_pane.
Donor: oa::UiSplitRegion.
Fields§
§first: PixelRectBounds of the first (top or left) pane.
handle: PixelRectBounds of the drag handle.
second: PixelRectBounds of the second (bottom or right) pane.
changed: boolWhether the ratio changed this frame.
Trait Implementations§
Source§impl Clone for UiSplitRegion
impl Clone for UiSplitRegion
Source§impl Debug for UiSplitRegion
impl Debug for UiSplitRegion
Auto Trait Implementations§
impl Forget for UiSplitRegion
impl Freeze for UiSplitRegion
impl Move for UiSplitRegion
impl RefUnwindSafe for UiSplitRegion
impl Send for UiSplitRegion
impl Sync for UiSplitRegion
impl Unpin for UiSplitRegion
impl UnsafeUnpin for UiSplitRegion
impl UnwindSafe for UiSplitRegion
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