[][src]Struct tray_rust::exec::distrib::master::Master

pub struct Master { /* fields omitted */ }

The Master organizes the set of Worker processes and instructions them what parts of the scene to render. As workers report results the master collects them and saves out the PNG once all workers have reported the frame.

Methods

impl Master[src]

pub fn start_workers(
    workers: Vec<String>,
    config: Config,
    img_dim: (usize, usize)
) -> (Master, EventLoop<Master>)
[src]

Create a new master that will contact the worker nodes passed and send instructions on what parts of the scene to start rendering

Trait Implementations

impl Handler for Master[src]

type Timeout = ()

type Message = ()

Auto Trait Implementations

impl Send for Master

impl !Sync for Master

impl Unpin for Master

impl UnwindSafe for Master

impl !RefUnwindSafe for Master

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<T> SetParameter for T[src]