[−][src]Struct pushrod::core::layout_manager::LayoutManagerCoordinates
This structure is sent to the LayoutManager at the time do_layout is called. This
structure contains the layout of all of the Widgets by origin, the sizes of each of the
Widgets, and their positions relative to the layout manager. The widget_positions do not
need to be actual positions in points - they can be used to denote the positions within the
layout they are to occur - for instance, 0x0, 0x1, 1x0 and 1x1 in a layout, if the layout were
a grid layout.
Fields
widget_origins: Vec<Point>widget_sizes: Vec<Size>widget_positions: Vec<Point>Trait Implementations
impl PartialEq<LayoutManagerCoordinates> for LayoutManagerCoordinates[src]
fn eq(&self, other: &LayoutManagerCoordinates) -> bool[src]
fn ne(&self, other: &LayoutManagerCoordinates) -> bool[src]
impl Default for LayoutManagerCoordinates[src]
fn default() -> LayoutManagerCoordinates[src]
impl Clone for LayoutManagerCoordinates[src]
fn clone(&self) -> LayoutManagerCoordinates[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for LayoutManagerCoordinates[src]
Auto Trait Implementations
impl Send for LayoutManagerCoordinates
impl Unpin for LayoutManagerCoordinates
impl Sync for LayoutManagerCoordinates
impl UnwindSafe for LayoutManagerCoordinates
impl RefUnwindSafe for LayoutManagerCoordinates
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value as a parameter of self.