pub struct LayerInfo<NameType> {
pub index: UInt,
pub datatype: UInt,
pub name: Option<NameType>,
}Expand description
Meta-data of a layer.
Fields§
§index: UIntIdentifier of the layer.
datatype: UIntIdentifier of the layer.
name: Option<NameType>Name of the layer.
Trait Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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