pub struct PaintParams {
pub kind: &'static str,
pub a: &'static str,
pub b: &'static str,
pub spread: &'static str,
pub count: &'static str,
pub offsets0: &'static str,
pub offsets1: &'static str,
pub colors: [&'static str; 8],
}Expand description
The parameter names of one of the generator’s paints, as
generator_definition declares them.
Fields§
§kind: &'static str{paint}_kind.
a: &'static str{paint}_a.
b: &'static str{paint}_b.
spread: &'static str{paint}_spread.
count: &'static str{paint}_count.
offsets0: &'static str{paint}_offsets0.
offsets1: &'static str{paint}_offsets1.
colors: [&'static str; 8]{paint}_c0 to {paint}_c7, by stop.
Trait Implementations§
Source§impl Clone for PaintParams
impl Clone for PaintParams
impl Copy for PaintParams
Source§impl Debug for PaintParams
impl Debug for PaintParams
impl Eq for PaintParams
Source§impl PartialEq for PaintParams
impl PartialEq for PaintParams
impl StructuralPartialEq for PaintParams
Auto Trait Implementations§
impl Freeze for PaintParams
impl RefUnwindSafe for PaintParams
impl Send for PaintParams
impl Sync for PaintParams
impl Unpin for PaintParams
impl UnsafeUnpin for PaintParams
impl UnwindSafe for PaintParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.