Struct mupdf::stroke_state::StrokeState [−][src]
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]
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>
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]
fn clone(&self) -> StrokeState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StrokeState
[src]
impl Default for StrokeState
[src]
impl Drop for StrokeState
[src]
Auto Trait Implementations
impl RefUnwindSafe for StrokeState
impl !Send for StrokeState
impl !Sync for StrokeState
impl Unpin for StrokeState
impl UnwindSafe for StrokeState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,