pub struct WebPatchCell {
pub bg: u32,
pub fg: u32,
pub glyph: u32,
pub attrs: u32,
}Expand description
One GPU patch cell payload (bg, fg, glyph, attrs) matching the
frankenterm-web applyPatch schema.
Fields§
§bg: u32§fg: u32§glyph: u32§attrs: u32Trait Implementations§
Source§impl Clone for WebPatchCell
impl Clone for WebPatchCell
Source§fn clone(&self) -> WebPatchCell
fn clone(&self) -> WebPatchCell
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 WebPatchCell
impl Debug for WebPatchCell
Source§impl PartialEq for WebPatchCell
impl PartialEq for WebPatchCell
impl Copy for WebPatchCell
impl Eq for WebPatchCell
impl StructuralPartialEq for WebPatchCell
Auto Trait Implementations§
impl Freeze for WebPatchCell
impl RefUnwindSafe for WebPatchCell
impl Send for WebPatchCell
impl Sync for WebPatchCell
impl Unpin for WebPatchCell
impl UnsafeUnpin for WebPatchCell
impl UnwindSafe for WebPatchCell
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.