Struct css_style::border::Side[][src]

pub struct Side {
    pub style: Option<BorderStyle>,
    pub width: Option<Width>,
    pub color: Option<Color>,
}

Fields

style: Option<BorderStyle>width: Option<Width>color: Option<Color>

Implementations

impl Side[src]

pub fn style(self, value: impl Into<BorderStyle>) -> Self[src]

pub fn try_style(self, value: Option<impl Into<BorderStyle>>) -> Self[src]

pub fn none(self) -> Self[src]

pub fn hidden(self) -> Self[src]

pub fn dotted(self) -> Self[src]

pub fn dashed(self) -> Self[src]

pub fn solid(self) -> Self[src]

pub fn double(self) -> Self[src]

pub fn groove(self) -> Self[src]

pub fn ridge(self) -> Self[src]

pub fn inset(self) -> Self[src]

pub fn outset(self) -> Self[src]

pub fn initial_style(self) -> Self[src]

pub fn inherit_style(self) -> Self[src]

pub fn width(self, value: impl Into<Width>) -> Self[src]

pub fn try_width(self, value: Option<impl Into<Width>>) -> Self[src]

pub fn thick(self) -> Self[src]

pub fn thin(self) -> Self[src]

pub fn medium(self) -> Self[src]

pub fn initial_width(self) -> Self[src]

pub fn inherit_width(self) -> Self[src]

pub fn color(self, value: impl Into<Color>) -> Self[src]

pub fn try_color(self, value: Option<impl Into<Color>>) -> Self[src]

Trait Implementations

impl Clone for Side[src]

impl Debug for Side[src]

impl Default for Side[src]

impl From<(Option<BorderStyle>, Option<Width>, Option<Color>)> for Side[src]

impl PartialEq<Side> for Side[src]

impl StructuralPartialEq for Side[src]

Auto Trait Implementations

impl RefUnwindSafe for Side

impl Send for Side

impl Sync for Side

impl Unpin for Side

impl UnwindSafe for Side

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, 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.