pub struct PathCurve {
pub x: Property<Size>,
pub y: Property<Size>,
pub on_change: Property<bool>,
}Fields§
§x: Property<Size>§y: Property<Size>§on_change: Property<bool>Implementations§
source§impl PathCurve
impl PathCurve
pub fn on_mount(&mut self, ctx: &NodeContext)
pub fn on_unmount(&mut self, ctx: &NodeContext)
pub fn pre_render(&mut self, _ctx: &NodeContext)
Trait Implementations§
source§impl CoercionRules for PathCurve
impl CoercionRules for PathCurve
source§impl<'de> Deserialize<'de> for PathCurve
impl<'de> Deserialize<'de> for PathCurve
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 PathCurve
impl HelperFunctions for PathCurve
source§impl Interpolatable for PathCurve
impl Interpolatable for PathCurve
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for PathCurve
impl ToPaxValue for PathCurve
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for PathCurve
Auto Trait Implementations§
impl Freeze for PathCurve
impl RefUnwindSafe for PathCurve
impl Send for PathCurve
impl Sync for PathCurve
impl Unpin for PathCurve
impl UnwindSafe for PathCurve
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.