pub struct Stroke {
pub color: Property<Color>,
pub width: Property<Size>,
}
Fields§
§color: Property<Color>
§width: Property<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 HelperFunctions for Stroke
impl HelperFunctions for Stroke
Source§impl Interpolatable for Stroke
impl Interpolatable for Stroke
fn interpolate(&self, _other: &Self, _t: f64) -> Self
Source§impl ToPaxValue for Stroke
impl ToPaxValue for Stroke
fn to_pax_value(self) -> PaxValue
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.