pub struct PaintBindingV1 {
pub paint: Paint,
pub eval_space: PaintEvalSpaceV1,
}Fields§
§paint: Paint§eval_space: PaintEvalSpaceV1Implementations§
Source§impl PaintBindingV1
impl PaintBindingV1
pub const fn new(paint: Paint) -> PaintBindingV1
pub const fn with_eval_space( paint: Paint, eval_space: PaintEvalSpaceV1, ) -> PaintBindingV1
pub fn sanitize(self) -> PaintBindingV1
Trait Implementations§
Source§impl Clone for PaintBindingV1
impl Clone for PaintBindingV1
Source§fn clone(&self) -> PaintBindingV1
fn clone(&self) -> PaintBindingV1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaintBindingV1
impl Debug for PaintBindingV1
Source§impl From<Color> for PaintBindingV1
impl From<Color> for PaintBindingV1
Source§fn from(value: Color) -> PaintBindingV1
fn from(value: Color) -> PaintBindingV1
Converts to this type from the input type.
Source§impl From<Paint> for PaintBindingV1
impl From<Paint> for PaintBindingV1
Source§fn from(value: Paint) -> PaintBindingV1
fn from(value: Paint) -> PaintBindingV1
Converts to this type from the input type.
Source§impl PartialEq for PaintBindingV1
impl PartialEq for PaintBindingV1
impl Copy for PaintBindingV1
impl StructuralPartialEq for PaintBindingV1
Auto Trait Implementations§
impl Freeze for PaintBindingV1
impl RefUnwindSafe for PaintBindingV1
impl Send for PaintBindingV1
impl Sync for PaintBindingV1
impl Unpin for PaintBindingV1
impl UnsafeUnpin for PaintBindingV1
impl UnwindSafe for PaintBindingV1
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