Struct piston_window::rectangle::Border[][src]

pub struct Border {
    pub color: [f32; 4],
    pub radius: f64,

The border of the rectangle


color: [f32; 4]

The color of the border

radius: f64

The radius of the border. The half-width of the line by which border is drawn.

Trait Implementations

impl Clone for Border[src]

impl Copy for Border[src]

Auto Trait Implementations

impl RefUnwindSafe for Border

impl Send for Border

impl Sync for Border

impl Unpin for Border

impl UnwindSafe for Border

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.