Void

Trait Void 

Source
pub trait Void {
    // Required method
    fn bytes(&self) -> &[u8] ;
}
Expand description

A type that can be used in the “void” position.

Required Methods§

Source

fn bytes(&self) -> &[u8]

The raw bytes of this item.

Implementations on Foreign Types§

Source§

impl Void for str

Source§

fn bytes(&self) -> &[u8]

Source§

impl<T: NoUninit> Void for [T]

Source§

fn bytes(&self) -> &[u8]

Implementors§

Source§

impl<T: NoUninit> Void for T