pub struct PathParamsDelegate {
pub data: <String as Delegated>::Delegate,
pub position: <(f64, f64) as Delegated>::Delegate,
pub fill_enabled: <bool as Delegated>::Delegate,
pub fill_paint: <Paint as Delegated>::Delegate,
pub stroke_enabled: <bool as Delegated>::Delegate,
pub stroke_paint: <Paint as Delegated>::Delegate,
pub stroke_width: <f64 as Delegated>::Delegate,
}Fields§
§data: <String as Delegated>::Delegate§position: <(f64, f64) as Delegated>::Delegate§fill_enabled: <bool as Delegated>::Delegate§fill_paint: <Paint as Delegated>::Delegate§stroke_enabled: <bool as Delegated>::Delegate§stroke_paint: <Paint as Delegated>::Delegate§stroke_width: <f64 as Delegated>::DelegateTrait Implementations§
Source§impl Clone for PathParamsDelegate
impl Clone for PathParamsDelegate
Source§impl Debug for PathParamsDelegate
impl Debug for PathParamsDelegate
Source§impl Default for PathParamsDelegate
impl Default for PathParamsDelegate
Source§impl DelegateEvaluable for PathParamsDelegate
impl DelegateEvaluable for PathParamsDelegate
type Evaluated = PathParams
fn eval( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Source§impl NodeParams for PathParamsDelegate
impl NodeParams for PathParamsDelegate
type Evaluated = PathParams
fn property_defs() -> Vec<PropertyDef>
fn is_property(id: &str) -> bool
fn default_properties(&self) -> Vec<(&'static str, PropertyValue)>
fn get_property(&self, id: &str) -> Option<PropertyExpression>
fn eval( &self, ctx: &NodeParamEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Auto Trait Implementations§
impl Freeze for PathParamsDelegate
impl RefUnwindSafe for PathParamsDelegate
impl Send for PathParamsDelegate
impl Sync for PathParamsDelegate
impl Unpin for PathParamsDelegate
impl UnsafeUnpin for PathParamsDelegate
impl UnwindSafe for PathParamsDelegate
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