Struct mupdf::stroke_state::StrokeState
source · pub struct StrokeState { /* private fields */ }
Implementations§
source§impl StrokeState
impl StrokeState
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>
pub fn try_clone(&self) -> Result<Self, Error>
pub fn start_cap(&self) -> LineCap
pub fn dash_cap(&self) -> LineCap
pub fn end_cap(&self) -> LineCap
pub fn line_join(&self) -> LineJoin
pub fn line_width(&self) -> f32
pub fn miter_limit(&self) -> f32
pub fn dash_phase(&self) -> f32
pub fn dashes(&self) -> Vec<f32>
Trait Implementations§
source§impl Clone for StrokeState
impl Clone for StrokeState
source§fn clone(&self) -> StrokeState
fn clone(&self) -> StrokeState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StrokeState
impl Debug for StrokeState
source§impl Default for StrokeState
impl Default for StrokeState
Auto Trait Implementations§
impl Freeze for StrokeState
impl RefUnwindSafe for StrokeState
impl !Send for StrokeState
impl !Sync for StrokeState
impl Unpin for StrokeState
impl UnwindSafe for StrokeState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more