Struct widgetry::EdgeInsets[][src]

pub struct EdgeInsets {
    pub top: f64,
    pub left: f64,
    pub bottom: f64,
    pub right: f64,
}

Fields

top: f64left: f64bottom: f64right: f64

Implementations

impl EdgeInsets[src]

pub fn zero() -> Self[src]

pub fn uniform(inset: f64) -> Self[src]

Trait Implementations

impl Clone for EdgeInsets[src]

impl Copy for EdgeInsets[src]

impl Debug for EdgeInsets[src]

impl Default for EdgeInsets[src]

impl From<EdgeInsets> for Rect<Dimension>[src]

impl From<f64> for EdgeInsets[src]

impl From<usize> for EdgeInsets[src]

impl PartialEq<EdgeInsets> for EdgeInsets[src]

impl StructuralPartialEq for EdgeInsets[src]

Auto Trait Implementations

impl RefUnwindSafe for EdgeInsets

impl Send for EdgeInsets

impl Sync for EdgeInsets

impl Unpin for EdgeInsets

impl UnwindSafe for EdgeInsets

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsDefault for T where
    T: Default + PartialEq<T> + Copy
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.