pub fn new_view_provider(&self, view_provider: ClientEnd<ViewProviderMarker>, view_id: u32) {
        match &self.view_producer_client {
            ViewProducerClient::Local(view_producer_client) => {
                view_producer_client.lock().new_view(view_provider, view_id);
            }
            ViewProducerClient::Invalid => {
                panic!("new_view_provider called without a valid view producer");
            }
        }
    }
/// Publish a new view back to the client for presentation.
Publish a new view back to the client for presentation.
Publish a new view back to the client for presentation .
pub fn new_view_provider(&self, view_provider: ClientEnd<ViewProviderMarker>, view_id: u32) {
        match &self.view_producer_client {
            ViewProducerClient::Local(view_producer_client) => {
                view_producer_client.lock().new_view(view_provider, view_id);
            }
            ViewProducerClient::Invalid => {
                panic!("new_view_provider called without a valid view producer");
            }
        }
    }
pub fn new_view_provider ( & self , view_provider : ClientEnd < ViewProviderMarker > , view_id : u32 ) { match & self . view_producer_client { ViewProducerClient :: Local ( view_producer_client ) => { view_producer_client . lock ( ) . new_view ( view_provider , view_id ) ; } ViewProducerClient :: Invalid => { panic ! ( " " ) ; } } }
Publish a new view back to the client for presentation.
Publish a new view back to the client for presentation .
&self
view_provider
ClientEnd<ViewProviderMarker>
view_id
u32
&self
view_provider
ClientEnd<ViewProviderMarker>
view_id
u32