Enum grib::codetables::Code
source · pub enum Code<Enum, N> {
Name(Enum),
Num(N),
}
Variants§
Trait Implementations§
source§impl<Enum, N> From<Result<Enum, TryFromPrimitiveError<Enum>>> for Code<Enum, N>where
Enum: TryFromPrimitive<Primitive = N>,
impl<Enum, N> From<Result<Enum, TryFromPrimitiveError<Enum>>> for Code<Enum, N>where
Enum: TryFromPrimitive<Primitive = N>,
source§impl<Enum: PartialEq, N: PartialEq> PartialEq for Code<Enum, N>
impl<Enum: PartialEq, N: PartialEq> PartialEq for Code<Enum, N>
impl<Enum: Eq, N: Eq> Eq for Code<Enum, N>
impl<Enum, N> StructuralPartialEq for Code<Enum, N>
Auto Trait Implementations§
impl<Enum, N> Freeze for Code<Enum, N>
impl<Enum, N> RefUnwindSafe for Code<Enum, N>where
Enum: RefUnwindSafe,
N: RefUnwindSafe,
impl<Enum, N> Send for Code<Enum, N>
impl<Enum, N> Sync for Code<Enum, N>
impl<Enum, N> Unpin for Code<Enum, N>
impl<Enum, N> UnwindSafe for Code<Enum, N>where
Enum: UnwindSafe,
N: 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