Type Alias NoData

Source
pub type NoData = ();
Expand description

Represents the absence of some data.

Trait Implementations§

Source§

impl DataType for NoData

Source§

type Value = ()

The DataValue type that pairs with this DataType.
Source§

fn data_values_are_copy() -> bool

Returns whether all values represented by this type are Copy.
Source§

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>

Returns the default value for this type, or None if not available.
Source§

fn data_value_align(&self) -> usize

Returns the alignment of the value represented by this type.
Source§

fn data_value_size(&self) -> usize

Returns the size of the value represented by this type.
Source§

impl DataTypeCopy for NoData

Source§

fn data_value_copy_default(&self) -> Option<Self::Value>

Returns the default value for this Copy type, or None if not available. Read more
Source§

impl DataValue for NoData

Source§

type Type = ()

The DataType type that pairs with this DataValue.
Source§

fn data_values_are_copy() -> bool

Returns whether all values are Copy.
Source§

fn data_type(&self) -> Self::Type

Returns the data type of this value.
Source§

fn data_value_is_copy(&self) -> bool

Returns whether the specific value is Copy.
Source§

impl DataValueCopy for NoData

Source§

fn data_type_copy(&self) -> Self::Type

Returns the data type associated with this Copy value. Read more
Source§

impl<W: IoWrite> Encodable<W> for NoData

Source§

fn encode(&self, _writer: &mut W) -> IoResult<usize>

Encodes self into the given writer, returning the bytes written. Read more
Source§

impl DataRaw for NoData

Available on crate feature unsafe_layout only.