pub struct FlexPosition {
pub x: Dimension,
pub y: Dimension,
}Expand description
A 2D position expressed in flexible dimensions.
Fields§
§x: Dimension§y: DimensionImplementations§
Source§impl FlexPosition
impl FlexPosition
Trait Implementations§
Source§impl Clone for FlexPosition
impl Clone for FlexPosition
Source§fn clone(&self) -> FlexPosition
fn clone(&self) -> FlexPosition
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 moreAuto Trait Implementations§
impl Freeze for FlexPosition
impl RefUnwindSafe for FlexPosition
impl Send for FlexPosition
impl Sync for FlexPosition
impl Unpin for FlexPosition
impl UnsafeUnpin for FlexPosition
impl UnwindSafe for FlexPosition
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