249 |
// Validated in previous step, never fails here; qed.
|
250 |
#[allow(clippy::transmute_bytes_to_str)]
|
251 |
mem::transmute(bytes)
|
269 |
pub unsafe fn hex_bytes2hex_str_unchecked(bytes: &[u8]) -> &str {
|
270 |
#[allow(clippy::transmute_bytes_to_str)]
|
271 |
mem::transmute(bytes)
|
323 |
#[allow(clippy::transmute_bytes_to_str)]
|
324 |
impl<const R: u8, const G: u8, const B: u8> Color for CustomColor<R, G, B> {
|