[][src]Enum polyhorn_android::styles::BorderStyle

pub enum BorderStyle {
    Solid,
    Dashed,
    Dotted,
}

Controls the style that is used to draw a border.

Variants

Solid

Draws a solid line.

Dashed

Draws a dashed line. The gap and dash lengths, as well as the starting position of the pattern are currently platform dependent and cannot be customized.

Dotted

Draws a dotted line. The starting position of the pattern is currently platform dependent and cannot be customized.

Trait Implementations

impl Clone for BorderStyle[src]

impl Copy for BorderStyle[src]

impl Debug for BorderStyle[src]

impl Eq for BorderStyle[src]

impl FromStr for BorderStyle[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<BorderStyle> for BorderStyle[src]

impl StructuralEq for BorderStyle[src]

impl StructuralPartialEq for BorderStyle[src]

impl ToTokens for BorderStyle[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> AsAny for T where
    T: Any
[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<'a, T> Desc<'a, T> for 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.