[−][src]Struct azul_core::ui_solver::LayoutedRectangle
Same as PositionedRectangle
, but without the text_layout_options
,
so that the struct implements Copy
.
Fields
size: LayoutSize
Outer bounds of the rectangle
position: PositionInfo
How the rectangle should be positioned
padding: ResolvedOffsets
Padding of the rectangle
margin: ResolvedOffsets
Margin of the rectangle
border_widths: ResolvedOffsets
Border widths of the rectangle
overflow: Overflow
Determines if the rect should be clipped or not (TODO: x / y as separate fields!)
Trait Implementations
impl Clone for LayoutedRectangle
[src]
fn clone(&self) -> LayoutedRectangle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LayoutedRectangle
[src]
impl Debug for LayoutedRectangle
[src]
impl PartialEq<LayoutedRectangle> for LayoutedRectangle
[src]
fn eq(&self, other: &LayoutedRectangle) -> bool
[src]
fn ne(&self, other: &LayoutedRectangle) -> bool
[src]
impl PartialOrd<LayoutedRectangle> for LayoutedRectangle
[src]
fn partial_cmp(&self, other: &LayoutedRectangle) -> Option<Ordering>
[src]
fn lt(&self, other: &LayoutedRectangle) -> bool
[src]
fn le(&self, other: &LayoutedRectangle) -> bool
[src]
fn gt(&self, other: &LayoutedRectangle) -> bool
[src]
fn ge(&self, other: &LayoutedRectangle) -> bool
[src]
impl StructuralPartialEq for LayoutedRectangle
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutedRectangle
impl Send for LayoutedRectangle
impl Sync for LayoutedRectangle
impl Unpin for LayoutedRectangle
impl UnwindSafe for LayoutedRectangle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,