Made fields public
parent
1ceebcce17
commit
bee3df118f
|
@ -21,8 +21,8 @@ bitfield! {
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct BonePacket<'a> {
|
pub struct BonePacket<'a> {
|
||||||
header: BonePacketHeader,
|
pub header: BonePacketHeader,
|
||||||
data: &'a [u8]
|
pub data: &'a [u8]
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> TryFrom<&'a [u8]> for BonePacket<'a> {
|
impl<'a> TryFrom<&'a [u8]> for BonePacket<'a> {
|
||||||
|
|
Loading…
Reference in New Issue