Struct bufkit_data::StationNumber[][src]

pub struct StationNumber { /* fields omitted */ }

New type wrapper for a station number.

Implementations

impl StationNumber[src]

pub fn is_valid(self) -> bool[src]

Test to see if this is a valid station number.

pub const fn new(num: u32) -> Self[src]

Create a new one.

Trait Implementations

impl Clone for StationNumber[src]

impl Copy for StationNumber[src]

impl Debug for StationNumber[src]

impl Display for StationNumber[src]

impl Eq for StationNumber[src]

impl From<u32> for StationNumber[src]

impl Hash for StationNumber[src]

impl Into<i64> for StationNumber[src]

impl Into<u32> for StationNumber[src]

impl Ord for StationNumber[src]

impl PartialEq<StationNumber> for StationNumber[src]

impl PartialOrd<StationNumber> for StationNumber[src]

impl StructuralEq for StationNumber[src]

impl StructuralPartialEq for StationNumber[src]

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> CallHasher for T where
    T: Hash

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.