Struct Bridge
struct Bridge {
model: Rc<RefCell<Model>>,
messages: Rc<Cell<usize>>,
drops: Rc<Cell<usize>>,
}Fields§
§model: Rc<RefCell<Model>>§messages: Rc<Cell<usize>>§drops: Rc<Cell<usize>>Trait Implementations§
§impl Callbacks for Bridge
impl Callbacks for Bridge
fn message(&mut self, json: &str)
fn snapshot(&mut self) -> Option<String>
§fn accessibility_action(&mut self, _: AccessibilityAction) -> bool
fn accessibility_action(&mut self, _: AccessibilityAction) -> bool
Accept a discrete intent from the explicit native companion. Default is
refusal. Acceptance does not publish a new value or create a host gesture;
publish the next complete snapshot after callback unwind. Never audio-thread.