Struct viz_core::types::Params[][src]

pub struct Params<T = Vec<(String, String)>>(pub T);

Implementations

impl Params[src]

pub fn find<T: FromStr>(&self, name: &str) -> Result<T, ParamsError> where
    T: FromStr,
    T::Err: Display
[src]

impl<T> Params<T>[src]

pub fn into_inner(self) -> T[src]

Deconstruct to an inner value

Trait Implementations

impl<T> AsRef<T> for Params<T>[src]

impl<T: Clone> Clone for Params<T>[src]

impl<T: Debug> Debug for Params<T>[src]

impl<T> Deref for Params<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for Params<T>[src]

impl<'de, T> Deserialize<'de> for Params<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Extract for Params<T> where
    T: DeserializeOwned
[src]

type Error = ParamsError

Auto Trait Implementations

impl<T> RefUnwindSafe for Params<T> where
    T: RefUnwindSafe

impl<T> Send for Params<T> where
    T: Send

impl<T> Sync for Params<T> where
    T: Sync

impl<T> Unpin for Params<T> where
    T: Unpin

impl<T> UnwindSafe for Params<T> where
    T: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,