Enum reproto_core::RpType [] [src]

pub enum RpType<F: 'static> where
    F: Flavor
{ Double, Float, Signed { size: usize, }, Unsigned { size: usize, }, Boolean, String, DateTime, Bytes, Any, Name { name: Loc<RpName<F>>, }, Array { inner: Box<RpType<F>>, }, Map { key: Box<RpType<F>>, value: Box<RpType<F>>, }, }

Variants

Fields of Signed

Fields of Unsigned

ISO-8601 datetime

Fields of Name

Fields of Array

Fields of Map

Methods

impl<F: 'static> RpType<F> where
    F: Flavor
[src]

[src]

Convert to an enum variant type.

impl RpType<CoreFlavor>
[src]

[src]

Localize type.

Strips version of any type which is not imported.

[src]

Strip version component for any type.

Trait Implementations

impl<F: Debug + 'static> Debug for RpType<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpType<F> where
    F: Flavor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: PartialEq + 'static> PartialEq for RpType<F> where
    F: Flavor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<F: Eq + 'static> Eq for RpType<F> where
    F: Flavor
[src]

impl<F: 'static> Display for RpType<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<F> Send for RpType<F> where
    <F as Flavor>::Package: Send

impl<F> Sync for RpType<F> where
    <F as Flavor>::Package: Sync