pub struct DebugServer {
pub to_client: Sender<Message>,
pub from_client: Receiver<Message>,
pub session_id: Uuid,
pub current_frame: usize,
pub frame_queue: Vec<DebugFrame>,
/* private fields */
}
Fields§
§to_client: Sender<Message>
§from_client: Receiver<Message>
§session_id: Uuid
§current_frame: usize
§frame_queue: Vec<DebugFrame>
Implementations§
Source§impl DebugServer
impl DebugServer
pub fn new() -> DebugServer
pub fn sync(&mut self) -> Option<Vec<DebugFrame>>
pub fn time_since_last_sync(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugServer
impl !RefUnwindSafe for DebugServer
impl Send for DebugServer
impl Sync for DebugServer
impl Unpin for DebugServer
impl !UnwindSafe for DebugServer
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