Struct etwin_core::dinoparc::DinoparcDinozId[][src]

pub struct DinoparcDinozId(_);

Implementations

impl DinoparcDinozId[src]

pub fn with_str<T>(self, f: impl FnOnce(&str) -> T) -> T[src]

Calls f with the string representation of this id as an argument.

pub const unsafe fn new_unchecked(id: u32) -> Self[src]

Constructs a id without checking bounds

Safety

The caller must ensure that the argument is contained in the bounds.

Trait Implementations

impl Clone for DinoparcDinozId[src]

impl Copy for DinoparcDinozId[src]

impl Debug for DinoparcDinozId[src]

impl Display for DinoparcDinozId[src]

impl Eq for DinoparcDinozId[src]

impl FromStr for DinoparcDinozId[src]

type Err = DinoparcDinozIdParseError

The associated error which can be returned from parsing.

impl Hash for DinoparcDinozId[src]

impl Ord for DinoparcDinozId[src]

impl PartialEq<DinoparcDinozId> for DinoparcDinozId[src]

impl PartialOrd<DinoparcDinozId> for DinoparcDinozId[src]

impl StructuralEq for DinoparcDinozId[src]

impl StructuralPartialEq for DinoparcDinozId[src]

impl TryFrom<&'_ str> for DinoparcDinozId[src]

type Error = DinoparcDinozIdParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.