pub type NoData = ();
Expand description
Represents data absence.
Trait Implementations§
Source§impl DataType for NoData
impl DataType for NoData
Source§fn data_value_default(&self) -> Option<Self::Value> ⓘ
fn data_value_default(&self) -> Option<Self::Value> ⓘ
Returns some default value corresponding to the current type. Read more
Source§fn data_value_is_copy(&self) -> bool
fn data_value_is_copy(&self) -> bool
Returns true if the data represented by this type is
Copy
.Source§fn data_value_align(&self) -> usize
fn data_value_align(&self) -> usize
Returns the alignment of the data represented by the current type.
Source§fn data_value_size(&self) -> usize
fn data_value_size(&self) -> usize
Returns the size of the data represented by this type.
Source§impl DataTypeCopy for NoData
impl DataTypeCopy for NoData
Source§impl DataValueCopy for NoData
impl DataValueCopy for NoData
Source§fn data_type_copy(&self) -> Self::Type
fn data_type_copy(&self) -> Self::Type
Returns the data type corresponding to the current (Copy) value. Read more
impl DataRaw for NoData
Available on crate feature
unsafe_layout
only.