[][src]Struct widgetry::EdgeInsets

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

Fields

top: f32left: f32bottom: f32right: f32

Implementations

impl EdgeInsets[src]

pub fn zero() -> Self[src]

pub fn uniform(inset: f32) -> 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<f32> 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[src]

impl Send for EdgeInsets[src]

impl Sync for EdgeInsets[src]

impl Unpin for EdgeInsets[src]

impl UnwindSafe for EdgeInsets[src]

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: Send + Sync + Any

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: PartialEq<T> + Default + 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.