pub enum Paint {
SolidColor(u8, u8, u8, u8),
Gradient(GradientPaint),
}Variants§
Implementations§
Trait Implementations§
Source§impl DeferredValue for Paint
impl DeferredValue for Paint
fn eval_deferred( deferred: &Deferred<Self>, node_id: NodeId, property_path: &str, _ctx: &ExpressionContext<'_>, ) -> Result<Self, LumenError>
fn to_property_value(value: &Self) -> PropertyValue
fn from_property_value(value: PropertyValue) -> Option<Self>
fn property_kind_name() -> &'static str
Source§impl Delegated for Paint
impl Delegated for Paint
type Delegate = PaintDelegate
fn into_delegate(self) -> Self::Delegate
Source§impl From<Paint> for PaintDelegate
impl From<Paint> for PaintDelegate
Source§impl NodeParamType for Paint
impl NodeParamType for Paint
fn property_kind() -> PropertyKind
impl StructuralPartialEq for Paint
Auto Trait Implementations§
impl Freeze for Paint
impl RefUnwindSafe for Paint
impl Send for Paint
impl Sync for Paint
impl Unpin for Paint
impl UnsafeUnpin for Paint
impl UnwindSafe for Paint
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