[][src]Enum iced_graphics::widget::canvas::LineCap

pub enum LineCap {
    Butt,
    Square,
    Round,
}
This is supported on feature="canvas" only.

The shape used at the end of open subpaths when they are stroked.

Variants

Butt
This is supported on feature="canvas" only.

The stroke for each sub-path does not extend beyond its two endpoints.

Square
This is supported on feature="canvas" only.

At the end of each sub-path, the shape representing the stroke will be extended by a square.

Round
This is supported on feature="canvas" only.

At the end of each sub-path, the shape representing the stroke will be extended by a semicircle.

Trait Implementations

impl Clone for LineCap[src]

impl Copy for LineCap[src]

impl Debug for LineCap[src]

impl Default for LineCap[src]

impl From<LineCap> 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<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> 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.

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