pub struct ComponentUpdate {
pub kind: ComponentKind,
/* private fields */
}Expand description
A serialised component-field update payload together with its ComponentKind tag.
Fields§
§kind: ComponentKindThe kind of component this update applies to.
Implementations§
Source§impl ComponentUpdate
impl ComponentUpdate
Sourcepub fn new(kind: ComponentKind, buffer: OwnedBitReader) -> Self
pub fn new(kind: ComponentKind, buffer: OwnedBitReader) -> Self
Creates a new ComponentUpdate wrapping buffer for the given kind.
Auto Trait Implementations§
impl Freeze for ComponentUpdate
impl RefUnwindSafe for ComponentUpdate
impl Send for ComponentUpdate
impl Sync for ComponentUpdate
impl Unpin for ComponentUpdate
impl UnsafeUnpin for ComponentUpdate
impl UnwindSafe for ComponentUpdate
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