pub struct Preview<'a, T: Send + Sync> {
pub exit_thread: Arc<AtomicBool>,
/* private fields */
}
Fields§
§exit_thread: Arc<AtomicBool>
Implementations§
source§impl<'a, T: Send + Sync> Preview<'a, T>
impl<'a, T: Send + Sync> Preview<'a, T>
pub fn connect_to_display_server(host: &str) -> Result<Preview<'a, T>, TevError>
pub fn disconnect_from_display_server(&mut self)
pub fn display_dynamic( self, title: &str, resolution: Point2i, channel_names: Vec<String>, scope: &Scope<'a>, arc: Arc<&'a RwLock<Vec<T>>>, get_tile_values: fn(_: Bounds2i, _: Arc<&'_ RwLock<Vec<T>>>, _: usize, _: &mut Vec<Vec<Float>>) )
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for Preview<'a, T>
impl<'a, T> Send for Preview<'a, T>
impl<'a, T> Sync for Preview<'a, T>
impl<'a, T> Unpin for Preview<'a, T>
impl<'a, T> UnwindSafe for Preview<'a, T>
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