Struct makepad_studio::build_manager::build_client::BuildClient
source · pub struct BuildClient {
pub cmd_sender: Sender<BuildCmdWrap>,
pub log_signal: Signal,
pub log_receiver: Receiver<LogItemWrap>,
}Fields§
§cmd_sender: Sender<BuildCmdWrap>§log_signal: Signal§log_receiver: Receiver<LogItemWrap>Implementations§
source§impl BuildClient
impl BuildClient
pub fn send_cmd(&self, cmd: BuildCmd) -> BuildCmdId
pub fn send_cmd_with_id(&self, cmd_id: BuildCmdId, cmd: BuildCmd)
pub fn handle_event(&mut self, cx: &mut Cx, event: &Event) -> Vec<LogItemWrap>
pub fn handle_event_with( &mut self, cx: &mut Cx, event: &Event, dispatch_msg: &mut dyn FnMut(&mut Cx, LogItemWrap) )
pub fn new_with_local_server(subdir: &str) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for BuildClient
impl Send for BuildClient
impl !Sync for BuildClient
impl Unpin for BuildClient
impl UnwindSafe for BuildClient
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