pub enum PaintDelegate {
SolidColor(<u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate),
Gradient(<GradientPaint as Delegated>::Delegate),
}Variants§
SolidColor(<u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate, <u8 as Delegated>::Delegate)
Gradient(<GradientPaint as Delegated>::Delegate)
Implementations§
Source§impl PaintDelegate
impl PaintDelegate
pub fn try_into_evaluated( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<Paint, LumenError>
pub fn into_evaluated(self) -> Result<Paint, LumenError>
Trait Implementations§
Source§impl Clone for PaintDelegate
impl Clone for PaintDelegate
Source§impl Debug for PaintDelegate
impl Debug for PaintDelegate
Source§impl Default for PaintDelegate
impl Default for PaintDelegate
Source§impl DelegateEvaluable for PaintDelegate
impl DelegateEvaluable for PaintDelegate
Source§impl DelegateValue for PaintDelegate
impl DelegateValue for PaintDelegate
fn to_property_value(&self) -> PropertyValue
fn from_property_expression( value: PropertyExpression, ) -> Result<Self, LumenError>
fn to_property_expression(&self) -> PropertyExpression
Auto Trait Implementations§
impl Freeze for PaintDelegate
impl RefUnwindSafe for PaintDelegate
impl Send for PaintDelegate
impl Sync for PaintDelegate
impl Unpin for PaintDelegate
impl UnsafeUnpin for PaintDelegate
impl UnwindSafe for PaintDelegate
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