Enum nannou_osc::Packet
source · pub enum Packet {
Message(Message),
Bundle(Bundle),
}
Expand description
An OSC packet can contain an OSC message or a bundle of nested packets which is called an OSC bundle.
Variants§
Implementations§
Trait Implementations§
source§impl From<OscMessage> for Packet
impl From<OscMessage> for Packet
source§impl PartialEq for Packet
impl PartialEq for Packet
impl StructuralPartialEq for Packet
Auto Trait Implementations§
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
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