Struct mupdf::stroke_state::StrokeState[][src]

pub struct StrokeState { /* fields omitted */ }

Implementations

impl StrokeState[src]

pub fn new(
    start_cap: LineCap,
    dash_cap: LineCap,
    end_cap: LineCap,
    line_join: LineJoin,
    line_width: f32,
    miter_limit: f32,
    dash_phase: f32,
    dash: &[f32]
) -> Result<Self, Error>
[src]

pub fn try_clone(&self) -> Result<Self, Error>[src]

pub fn start_cap(&self) -> LineCap[src]

pub fn dash_cap(&self) -> LineCap[src]

pub fn end_cap(&self) -> LineCap[src]

pub fn line_join(&self) -> LineJoin[src]

pub fn line_width(&self) -> f32[src]

pub fn miter_limit(&self) -> f32[src]

pub fn dash_phase(&self) -> f32[src]

pub fn dashes(&self) -> Vec<f32>[src]

Trait Implementations

impl Clone for StrokeState[src]

impl Debug for StrokeState[src]

impl Default for StrokeState[src]

impl Drop for StrokeState[src]

Auto Trait Implementations

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