pub struct WebFlatPatchBatch {
pub cells: Vec<u32>,
pub spans: Vec<u32>,
}Expand description
Compact, flat patch payload for JS/WASM transport.
Fields§
§cells: Vec<u32>Cell payload in [bg, fg, glyph, attrs] order.
spans: Vec<u32>Span payload in [offset, len, offset, len, ...] order.
Trait Implementations§
Source§impl Clone for WebFlatPatchBatch
impl Clone for WebFlatPatchBatch
Source§fn clone(&self) -> WebFlatPatchBatch
fn clone(&self) -> WebFlatPatchBatch
Returns a duplicate 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 WebFlatPatchBatch
impl Debug for WebFlatPatchBatch
Source§impl Default for WebFlatPatchBatch
impl Default for WebFlatPatchBatch
Source§fn default() -> WebFlatPatchBatch
fn default() -> WebFlatPatchBatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for WebFlatPatchBatch
impl PartialEq for WebFlatPatchBatch
impl Eq for WebFlatPatchBatch
impl StructuralPartialEq for WebFlatPatchBatch
Auto Trait Implementations§
impl Freeze for WebFlatPatchBatch
impl RefUnwindSafe for WebFlatPatchBatch
impl Send for WebFlatPatchBatch
impl Sync for WebFlatPatchBatch
impl Unpin for WebFlatPatchBatch
impl UnsafeUnpin for WebFlatPatchBatch
impl UnwindSafe for WebFlatPatchBatch
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.