Trait bantamweight::Serializable
source · [−]pub trait Serializable {
fn to_stream(&self, stream: &mut BinaryStream);
fn from_stream(stream: &mut BinaryStream) -> Self;
}
pub trait Serializable {
fn to_stream(&self, stream: &mut BinaryStream);
fn from_stream(stream: &mut BinaryStream) -> Self;
}