Struct pax_runtime_api::Stroke
source · pub struct Stroke {
pub color: Color,
pub width: Size,
}
Fields§
§color: Color
§width: Size
Trait Implementations§
source§impl CoercionRules for Stroke
impl CoercionRules for Stroke
source§impl<'de> Deserialize<'de> for Stroke
impl<'de> Deserialize<'de> for Stroke
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 Interpolatable for Stroke
impl Interpolatable for Stroke
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToFromPaxAny for Stroke
impl ToFromPaxAny for Stroke
source§impl ToFromPaxValue for Stroke
impl ToFromPaxValue for Stroke
Auto Trait Implementations§
impl Freeze for Stroke
impl RefUnwindSafe for Stroke
impl Send for Stroke
impl Sync for Stroke
impl Unpin for Stroke
impl UnwindSafe for Stroke
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.