[][src]Enum wasm_game_lib::graphics::canvas::LineCap

pub enum LineCap {
    Butt,
    Round,
    Square,
}

An enum representing a lineCap mode. You may want to use LineStyle for a complete set of options.

Example

line cap demonstration

Variants

Butt

The first line of the example above

Round

The second line of the example above

Square

The third line of the example above

Trait Implementations

impl ToString for LineCap[src]

Auto Trait Implementations

impl RefUnwindSafe for LineCap

impl Send for LineCap

impl Sync for LineCap

impl Unpin for LineCap

impl UnwindSafe for LineCap

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> From<T> for T[src]

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

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.