[−][src]Struct mandelbrot::views::switchable::SwitchableViewManager
Fields
single: Arc<Mutex<MandelbrotViewManager>>
double: Arc<Mutex<DoubleViewManager>>
current: CurrentView
Methods
impl SwitchableViewManager
[src]
pub fn init(
single: Arc<Mutex<MandelbrotViewManager>>,
double: Arc<Mutex<DoubleViewManager>>,
current: CurrentView
) -> Self
[src]
single: Arc<Mutex<MandelbrotViewManager>>,
double: Arc<Mutex<DoubleViewManager>>,
current: CurrentView
) -> Self
Trait Implementations
impl FractalViewManager for SwitchableViewManager
[src]
fn new(_device: &Device, _size: LogicalSize) -> Self
[src]
fn render(
&mut self,
device: &Arc<Mutex<Device>>,
frame: &SwapChainOutput
) -> Vec<CommandBuffer>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
frame: &SwapChainOutput
) -> Vec<CommandBuffer>
fn resized(
&mut self,
device: &Arc<Mutex<Device>>,
window_size: &WindowSize
) -> Vec<CommandBuffer>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
window_size: &WindowSize
) -> Vec<CommandBuffer>
fn mouse_input(&mut self, button: MouseButton, state: ElementState)
[src]
fn iterations(
&mut self,
device: &Arc<Mutex<Device>>,
y_delta: f32
) -> Vec<CommandBuffer>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
y_delta: f32
) -> Vec<CommandBuffer>
fn set_julia(
&mut self,
device: &Arc<Mutex<Device>>,
state: bool
) -> Option<Vec<CommandBuffer>>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
state: bool
) -> Option<Vec<CommandBuffer>>
fn zoom(
&mut self,
device: &Arc<Mutex<Device>>,
y_delta: f32
) -> Vec<CommandBuffer>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
y_delta: f32
) -> Vec<CommandBuffer>
fn new_position(
&mut self,
device: &Arc<Mutex<Device>>,
x: f32,
y: f32,
active: bool
) -> Option<Vec<CommandBuffer>>
[src]
&mut self,
device: &Arc<Mutex<Device>>,
x: f32,
y: f32,
active: bool
) -> Option<Vec<CommandBuffer>>
fn create_render_pipeline(&mut self, device: &Device)
[src]
fn reload_fs(&mut self, device: &Arc<Mutex<Device>>)
[src]
fn load_fs(path: &Path) -> Option<Vec<u32>>
[src]
Auto Trait Implementations
impl Send for SwitchableViewManager
impl Sync for SwitchableViewManager
impl Unpin for SwitchableViewManager
impl UnwindSafe for SwitchableViewManager
impl RefUnwindSafe for SwitchableViewManager
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,