pub enum NatNetMsgType {
Ping = 0,
PingResponse = 1,
Request = 2,
Response = 3,
RequestModelDef = 4,
ModelDef = 5,
RequestFrameOfData = 6,
FrameOfData = 7,
MessageString = 8,
UnrecognizedRequest = 100,
}
Expand description
C-like Enum representing the different possible messages coming from NatNet
Updated for 2.10.0
Variants§
Ping = 0
PingResponse = 1
Request = 2
Response = 3
RequestModelDef = 4
ModelDef = 5
RequestFrameOfData = 6
FrameOfData = 7
MessageString = 8
UnrecognizedRequest = 100
Trait Implementations§
Source§impl Clone for NatNetMsgType
impl Clone for NatNetMsgType
Source§fn clone(&self) -> NatNetMsgType
fn clone(&self) -> NatNetMsgType
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 NatNetMsgType
impl Debug for NatNetMsgType
Source§impl PartialEq for NatNetMsgType
impl PartialEq for NatNetMsgType
Source§impl PartialOrd for NatNetMsgType
impl PartialOrd for NatNetMsgType
impl StructuralPartialEq for NatNetMsgType
Auto Trait Implementations§
impl Freeze for NatNetMsgType
impl RefUnwindSafe for NatNetMsgType
impl Send for NatNetMsgType
impl Sync for NatNetMsgType
impl Unpin for NatNetMsgType
impl UnwindSafe for NatNetMsgType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)