Struct naia_shared::ComponentUpdate
source · pub struct ComponentUpdate {
pub kind: ComponentKind,
/* private fields */
}
Fields§
§kind: ComponentKind
Implementations§
source§impl ComponentUpdate
impl ComponentUpdate
pub fn new(kind: ComponentKind, buffer: OwnedBitReader) -> Self
pub fn reader(&self) -> BitReader<'_>
Auto Trait Implementations§
impl Freeze for ComponentUpdate
impl RefUnwindSafe for ComponentUpdate
impl Send for ComponentUpdate
impl Sync for ComponentUpdate
impl Unpin 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