pub struct BasePaint {
pub visible: Option<bool>,
pub opacity: Option<f64>,
pub blend_mode: BlendMode,
}
Fields§
§visible: Option<bool>
Is the paint enabled?
opacity: Option<f64>
Overall opacity of paint (colors within the paint can also have opacity values which would blend with this)
blend_mode: BlendMode
How this node blends with nodes behind it in the scene
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BasePaint
impl<'de> Deserialize<'de> for BasePaint
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
impl StructuralPartialEq for BasePaint
Auto Trait Implementations§
impl Freeze for BasePaint
impl RefUnwindSafe for BasePaint
impl Send for BasePaint
impl Sync for BasePaint
impl Unpin for BasePaint
impl UnwindSafe for BasePaint
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