pub struct Config<A: Attractor, T: ColorTransform> {
pub iterations: usize,
pub width: u32,
pub height: u32,
pub render: RenderKind,
pub transparent: bool,
pub angle: f64,
pub silent: bool,
pub attractor: A,
pub colors: Colors,
pub view: View,
pub color_transform: T,
}
Fields§
§iterations: usize
Heavily affects performance
width: u32
Image width, slight performance decrease
height: u32
Image height, slight performance decrease
render: RenderKind
§transparent: bool
This reduces colour quality.
angle: f64
The camera rotation angle.
silent: bool
Be less verbose.
attractor: A
§colors: Colors
§view: View
§color_transform: T
Implementations§
source§impl<A: Attractor, T: ColorTransform> Config<A, T>
impl<A: Attractor, T: ColorTransform> Config<A, T>
source§impl Config<PolynomialSprott2Degree, Function>
impl Config<PolynomialSprott2Degree, Function>
pub fn poisson_saturne() -> Self
source§impl Config<PolynomialSprott2Degree, AdjustedVelocity>
impl Config<PolynomialSprott2Degree, AdjustedVelocity>
pub fn solar_sail() -> Self
Trait Implementations§
Auto Trait Implementations§
impl<A, T> Freeze for Config<A, T>
impl<A, T> RefUnwindSafe for Config<A, T>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<A, T> Send for Config<A, T>where
A: Send,
impl<A, T> Sync for Config<A, T>where
A: Sync,
impl<A, T> Unpin for Config<A, T>
impl<A, T> UnwindSafe for Config<A, T>where
A: UnwindSafe,
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)