pub struct WidgetPlacement {
pub id: WidgetId,
pub origin: Point,
pub size: Size,
}Expand description
Placement of a child widget during layout.
Fields§
§id: WidgetId§origin: Point§size: SizeTrait Implementations§
Source§impl Clone for WidgetPlacement
impl Clone for WidgetPlacement
Source§fn clone(&self) -> WidgetPlacement
fn clone(&self) -> WidgetPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WidgetPlacement
Auto Trait Implementations§
impl Freeze for WidgetPlacement
impl RefUnwindSafe for WidgetPlacement
impl Send for WidgetPlacement
impl Sync for WidgetPlacement
impl Unpin for WidgetPlacement
impl UnsafeUnpin for WidgetPlacement
impl UnwindSafe for WidgetPlacement
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