pub struct StrokeSample {
pub width: f64,
pub cap: StrokeCap,
pub join: StrokeJoin,
pub miter_limit: f64,
pub dash: Option<DashSample>,
}Fields§
§width: f64§cap: StrokeCap§join: StrokeJoin§miter_limit: f64§dash: Option<DashSample>Trait Implementations§
Source§impl Clone for StrokeSample
impl Clone for StrokeSample
Source§fn clone(&self) -> StrokeSample
fn clone(&self) -> StrokeSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StrokeSample
impl Debug for StrokeSample
Source§impl<'de> Deserialize<'de> for StrokeSample
impl<'de> Deserialize<'de> for StrokeSample
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StrokeSample
impl PartialEq for StrokeSample
Source§impl Serialize for StrokeSample
impl Serialize for StrokeSample
impl StructuralPartialEq for StrokeSample
Auto Trait Implementations§
impl Freeze for StrokeSample
impl RefUnwindSafe for StrokeSample
impl Send for StrokeSample
impl Sync for StrokeSample
impl Unpin for StrokeSample
impl UnsafeUnpin for StrokeSample
impl UnwindSafe for StrokeSample
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