Skip to main content

## IntoResettable

# Trait IntoResettable

Source

    pub trait IntoResettable<T> {
        // Required method
        fn into_resettable(self) -> Resettable<T>;
    }

Expand description

Convert to the intended resettable type

## Required Methods§

Source

#### fn into_resettable(self) -> Resettable<T>

Convert to the intended resettable type

## Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementations on Foreign Types§

Source§

### impl IntoResettable<ArgAction> for Option<ArgAction>

Source§

#### fn into_resettable(self) -> Resettable<ArgAction>

Source§

### impl IntoResettable<OsStr> for Option<&'static str>

Source§

#### fn into_resettable(self) -> Resettable<OsStr>

Source§

### impl IntoResettable<Str> for Option<&'static str>

Source§

#### fn into_resettable(self) -> Resettable<Str>

Source§

### impl IntoResettable<StyledStr> for Option<&'static str>

Source§

#### fn into_resettable(self) -> Resettable<StyledStr>

Source§

### impl IntoResettable<ValueHint> for Option<ValueHint>

Source§

#### fn into_resettable(self) -> Resettable<ValueHint>

Source§

### impl IntoResettable<ValueParser> for Option<ValueParser>

Source§

#### fn into_resettable(self) -> Resettable<ValueParser>

Source§

### impl IntoResettable<char> for Option<char>

Source§

#### fn into_resettable(self) -> Resettable<char>

Source§

### impl IntoResettable<char> for char

Source§

#### fn into_resettable(self) -> Resettable<char>

Source§

### impl IntoResettable<usize> for Option<usize>

Source§

#### fn into_resettable(self) -> Resettable<usize>

Source§

### impl IntoResettable<usize> for usize

Source§

#### fn into_resettable(self) -> Resettable<usize>

## Implementors§

Source§

### impl IntoResettable<ArgAction> for ArgAction

Source§

### impl IntoResettable<ValueHint> for ValueHint

Source§

### impl<I> IntoResettable<Id> for I
where I: Into<Id>,

Source§

### impl<I> IntoResettable<OsStr> for I
where I: Into<OsStr>,

Source§

### impl<I> IntoResettable<Str> for I
where I: Into<Str>,

Source§

### impl<I> IntoResettable<String> for I
where I: Into<String>,

Source§

### impl<I> IntoResettable<StyledStr> for I
where I: Into<StyledStr>,

Source§

### impl<I> IntoResettable<ValueParser> for I
where I: Into<ValueParser>,

Source§

### impl<I> IntoResettable<ValueRange> for I
where I: Into<ValueRange>,

Source§

### impl<T> IntoResettable<T> for Resettable<T>