Trait pnet::packet::PrimitiveValues
pub trait PrimitiveValues {
type T;
// Required method
fn to_primitive_values(&self) -> Self::T;
}
Expand description
Used to convert a type to primitive values representing it.
Required Associated Types§
type T
type T
A tuple of types, to represent the current value.
Required Methods§
fn to_primitive_values(&self) -> Self::T
fn to_primitive_values(&self) -> Self::T
Convert a value to primitive types representing it.