[][src]Struct durs_common_tools::Percent

pub struct Percent(_);

Percent

Methods

impl Percent[src]

pub fn new(percent: u8) -> Result<Percent, PercentError>[src]

New percent

Trait Implementations

impl Clone for Percent[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Percent> for Percent[src]

impl Into<u8> for Percent[src]

impl Copy for Percent[src]

impl Eq for Percent[src]

impl Debug for Percent[src]

impl Hash for Percent[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Unpin for Percent

impl Sync for Percent

impl Send for Percent

impl UnwindSafe for Percent

impl RefUnwindSafe for Percent

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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