Struct libreda_db::layout::types::LayerInfo
source · pub struct LayerInfo<NameType> {
pub index: UInt,
pub datatype: UInt,
pub name: Option<NameType>,
}
Expand description
Meta-data of a layer.
Fields§
§index: UInt
Identifier of the layer.
datatype: UInt
Identifier of the layer.
name: Option<NameType>
Name of the layer.
Trait Implementations§
source§impl<NameType: PartialEq> PartialEq for LayerInfo<NameType>
impl<NameType: PartialEq> PartialEq for LayerInfo<NameType>
impl<NameType> StructuralPartialEq for LayerInfo<NameType>
Auto Trait Implementations§
impl<NameType> Freeze for LayerInfo<NameType>where
NameType: Freeze,
impl<NameType> RefUnwindSafe for LayerInfo<NameType>where
NameType: RefUnwindSafe,
impl<NameType> Send for LayerInfo<NameType>where
NameType: Send,
impl<NameType> Sync for LayerInfo<NameType>where
NameType: Sync,
impl<NameType> Unpin for LayerInfo<NameType>where
NameType: Unpin,
impl<NameType> UnwindSafe for LayerInfo<NameType>where
NameType: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more