Enum savory_style::position::Clip[][src]

pub enum Clip {
    Auto(Auto),
    ShapeRect {
        top: ClipRectLength,
        right: ClipRectLength,
        bottom: ClipRectLength,
        left: ClipRectLength,
    },
    Initial(Initial),
    Inherit(Inherit),
}

Variants

Auto(Auto)
ShapeRect

Fields of ShapeRect

top: ClipRectLengthright: ClipRectLengthbottom: ClipRectLengthleft: ClipRectLength
Initial(Initial)
Inherit(Inherit)

Implementations

impl Clip[src]

pub fn rect(
    top: impl Into<ClipRectLength>,
    right: impl Into<ClipRectLength>,
    bottom: impl Into<ClipRectLength>,
    left: impl Into<ClipRectLength>
) -> Self
[src]

Trait Implementations

impl Clone for Clip[src]

impl Debug for Clip[src]

impl Display for Clip[src]

impl From<Auto> for Clip[src]

impl From<Inherit> for Clip[src]

impl From<Initial> for Clip[src]

impl PartialEq<Clip> for Clip[src]

impl StructuralPartialEq for Clip[src]

Auto Trait Implementations

impl RefUnwindSafe for Clip

impl Send for Clip

impl Sync for Clip

impl Unpin for Clip

impl UnwindSafe for Clip

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,