pub(super) fn as_bytes(&self) -> &[u8] {
        unsafe {
            std::slice::from_raw_parts(
                (self as *const Self) as *const u8,
                mem::size_of::<fx_log_packet_t>(),
            )
        }
    }
/// This struct has no padding bytes, but we can't use zerocopy because it needs const
/// generics to support arrays this large.
This struct has no padding bytes, but we can't use zerocopy because it needs const
generics to support arrays this large.
This struct has no padding bytes but we can ' t use zerocopy because it needs const generics to support arrays this large .
pub(super) fn as_bytes(&self) -> &[u8] {
        unsafe {
            std::slice::from_raw_parts(
                (self as *const Self) as *const u8,
                mem::size_of::<fx_log_packet_t>(),
            )
        }
    }
pub ( super ) fn as_bytes ( & self ) -> & [ u8 ] { unsafe { std :: slice :: from_raw_parts ( ( self as * const Self ) as * const u8 , mem :: size_of :: < fx_log_packet_t > ( ) , ) } }
This struct has no padding bytes, but we can't use zerocopy because it needs const
generics to support arrays this large.
This struct has no padding bytes but we can ' t use zerocopy because it needs const generics to support arrays this large .
&self
&self