pub struct MandelbrotParams {
pub power: f64,
pub max_iter: u32,
pub escape_r_sq: f64,
}Expand description
Parameters for the generalized Mandelbrot set: z → z^power + c.
Fields§
§power: f64Exponent (2 = classic Mandelbrot).
max_iter: u32Maximum iterations.
escape_r_sq: f64Escape radius squared.
Implementations§
Trait Implementations§
Source§impl Clone for MandelbrotParams
impl Clone for MandelbrotParams
Source§fn clone(&self) -> MandelbrotParams
fn clone(&self) -> MandelbrotParams
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 MandelbrotParams
impl Debug for MandelbrotParams
Auto Trait Implementations§
impl Freeze for MandelbrotParams
impl RefUnwindSafe for MandelbrotParams
impl Send for MandelbrotParams
impl Sync for MandelbrotParams
impl Unpin for MandelbrotParams
impl UnsafeUnpin for MandelbrotParams
impl UnwindSafe for MandelbrotParams
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