Struct rosu_render::websocket::event::RawRenderDone
source · pub struct RawRenderDone {
pub render_id: u32,
pub bytes: Bytes,
}Expand description
RenderDone that has not been fully deserialized yet.
Fields§
§render_id: u32§bytes: BytesImplementations§
source§impl RawRenderDone
impl RawRenderDone
sourcepub fn deserialize(&self) -> Result<RenderDone, SerdeError>
pub fn deserialize(&self) -> Result<RenderDone, SerdeError>
Deserialize into a RenderDone event.
Trait Implementations§
source§impl Clone for RawRenderDone
impl Clone for RawRenderDone
source§fn clone(&self) -> RawRenderDone
fn clone(&self) -> RawRenderDone
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RawRenderDone
impl Debug for RawRenderDone
source§impl PartialEq for RawRenderDone
impl PartialEq for RawRenderDone
source§fn eq(&self, other: &RawRenderDone) -> bool
fn eq(&self, other: &RawRenderDone) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RawRenderDone
impl StructuralPartialEq for RawRenderDone
Auto Trait Implementations§
impl RefUnwindSafe for RawRenderDone
impl Send for RawRenderDone
impl Sync for RawRenderDone
impl Unpin for RawRenderDone
impl UnwindSafe for RawRenderDone
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.