OptValue in cargo::util::context::value - Rust
Description: API documentation for the Rust `OptValue` type in crate `cargo`.

Skip to main content

## OptValue

# Type Alias OptValue

Source

    pub type OptValue<T> = Option<Value<T>>;

## Aliased Type§

    pub enum OptValue<T> {
        None,
        Some(Value<T>),
    }

## Variants§

§1.0.0

### None

No value.

§1.0.0

### Some(Value<T>)

Some value of type `T`.

## Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.