Struct libreda_pnr::db::LayerInfo
source · pub struct LayerInfo<NameType> {
pub index: u32,
pub datatype: u32,
pub name: Option<NameType>,
}Expand description
Meta-data of a layer.
Fields§
§index: u32Identifier of the layer.
datatype: u32Identifier of the layer.
name: Option<NameType>Name of the layer.
Trait Implementations§
source§impl<'de, NameType> Deserialize<'de> for LayerInfo<NameType>where
NameType: Deserialize<'de>,
impl<'de, NameType> Deserialize<'de> for LayerInfo<NameType>where NameType: Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LayerInfo<NameType>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LayerInfo<NameType>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<NameType> PartialEq<LayerInfo<NameType>> for LayerInfo<NameType>where
NameType: PartialEq<NameType>,
impl<NameType> PartialEq<LayerInfo<NameType>> for LayerInfo<NameType>where NameType: PartialEq<NameType>,
source§impl<NameType> Serialize for LayerInfo<NameType>where
NameType: Serialize,
impl<NameType> Serialize for LayerInfo<NameType>where NameType: Serialize,
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more