[][src]Struct mandelbrot::views::view::FractalViewData

pub struct FractalViewData {
    pub frag_shader_module: Arc<Mutex<ShaderModule>>,
    pub render_pipeline: Arc<Mutex<RenderPipeline>>,
    pub bind_group: Arc<Mutex<BindGroup>>,
    pub bufs: Buffers,
    pub vs_module: Arc<ShaderModule>,
    pub pipeline_layout: Arc<PipelineLayout>,
    pub prev_position: Position,
    pub pos: Position,
    pub first_drag_pos_received: bool,
    pub left_button_pressed: bool,
    pub zoom: Zoom,
    pub iterations: Iterations,
}

Fields

frag_shader_module: Arc<Mutex<ShaderModule>>render_pipeline: Arc<Mutex<RenderPipeline>>bind_group: Arc<Mutex<BindGroup>>bufs: Buffersvs_module: Arc<ShaderModule>pipeline_layout: Arc<PipelineLayout>prev_position: Positionpos: Positionfirst_drag_pos_received: boolleft_button_pressed: boolzoom: Zoomiterations: Iterations

Methods

impl FractalViewData[src]

fn set_fs(&mut self, sm: ShaderModule)[src]

Auto Trait Implementations

impl Send for FractalViewData

impl Sync for FractalViewData

impl Unpin for FractalViewData

impl UnwindSafe for FractalViewData

impl !RefUnwindSafe for FractalViewData

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,