pub type NoData = ();
Expand description
Represents the absence of some data.
Trait Implementations§
Source§impl DataType for NoData
impl DataType for NoData
Source§fn data_values_are_copy() -> bool
fn data_values_are_copy() -> bool
Returns whether all values represented by this type are
Copy
.Source§fn data_value_is_copy(&self) -> bool
fn data_value_is_copy(&self) -> bool
Returns whether the specific value for this type is
Copy
.Source§fn data_value_default(&self) -> Option<Self::Value> ⓘ
fn data_value_default(&self) -> Option<Self::Value> ⓘ
Returns the default value for this type, or
None
if not available.Source§fn data_value_align(&self) -> usize
fn data_value_align(&self) -> usize
Returns the alignment of the value represented by this type.
Source§fn data_value_size(&self) -> usize
fn data_value_size(&self) -> usize
Returns the size of the value represented by this type.
Source§impl DataTypeCopy for NoData
impl DataTypeCopy for NoData
Source§impl DataValue for NoData
impl DataValue for NoData
Source§fn data_values_are_copy() -> bool
fn data_values_are_copy() -> bool
Returns whether all values are
Copy
.Source§fn data_value_is_copy(&self) -> bool
fn data_value_is_copy(&self) -> bool
Returns whether the specific value is
Copy
.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 associated with this
Copy
value. Read moreimpl DataRaw for NoData
Available on crate feature
unsafe_layout
only.