pub struct ShapeParamsDelegate {
pub geometry_kind: <ShapeGeometryKind as Delegated>::Delegate,
pub width: <i64 as Delegated>::Delegate,
pub height: <i64 as Delegated>::Delegate,
pub border_radius: <f64 as Delegated>::Delegate,
pub polygon_points: <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§
§geometry_kind: <ShapeGeometryKind as Delegated>::Delegate§width: <i64 as Delegated>::Delegate§height: <i64 as Delegated>::Delegate§border_radius: <f64 as Delegated>::Delegate§polygon_points: <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 ShapeParamsDelegate
impl Clone for ShapeParamsDelegate
Source§impl Debug for ShapeParamsDelegate
impl Debug for ShapeParamsDelegate
Source§impl Default for ShapeParamsDelegate
impl Default for ShapeParamsDelegate
Source§impl DelegateEvaluable for ShapeParamsDelegate
impl DelegateEvaluable for ShapeParamsDelegate
type Evaluated = ShapeParams
fn eval( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Source§impl NodeParams for ShapeParamsDelegate
impl NodeParams for ShapeParamsDelegate
type Evaluated = ShapeParams
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 ShapeParamsDelegate
impl RefUnwindSafe for ShapeParamsDelegate
impl Send for ShapeParamsDelegate
impl Sync for ShapeParamsDelegate
impl Unpin for ShapeParamsDelegate
impl UnsafeUnpin for ShapeParamsDelegate
impl UnwindSafe for ShapeParamsDelegate
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