pub fn is_byte_aligned(ty: &ResolvedType, registry: &TypeRegistry) -> boolExpand description
Returns true if the type is byte-aligned (i.e., not sub-byte).
Returns false for: Bool, SubByte, exhaustive enum with wire_bits < 8.
pub fn is_byte_aligned(ty: &ResolvedType, registry: &TypeRegistry) -> boolReturns true if the type is byte-aligned (i.e., not sub-byte).
Returns false for: Bool, SubByte, exhaustive enum with wire_bits < 8.