Struct rosu_render::websocket::event::RawRenderProgress
source · pub struct RawRenderProgress {
pub render_id: u32,
pub bytes: Bytes,
}Expand description
RenderProgress that has not been fully deserialized yet.
Fields§
§render_id: u32§bytes: BytesImplementations§
source§impl RawRenderProgress
impl RawRenderProgress
sourcepub fn deserialize(&self) -> Result<RenderProgress, SerdeError>
pub fn deserialize(&self) -> Result<RenderProgress, SerdeError>
Deserialize into a RenderProgress event.
Trait Implementations§
source§impl Clone for RawRenderProgress
impl Clone for RawRenderProgress
source§fn clone(&self) -> RawRenderProgress
fn clone(&self) -> RawRenderProgress
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 RawRenderProgress
impl Debug for RawRenderProgress
source§impl PartialEq for RawRenderProgress
impl PartialEq for RawRenderProgress
source§fn eq(&self, other: &RawRenderProgress) -> bool
fn eq(&self, other: &RawRenderProgress) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RawRenderProgress
impl StructuralPartialEq for RawRenderProgress
Auto Trait Implementations§
impl RefUnwindSafe for RawRenderProgress
impl Send for RawRenderProgress
impl Sync for RawRenderProgress
impl Unpin for RawRenderProgress
impl UnwindSafe for RawRenderProgress
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.