Type Alias InheritableRustVersion

Source
pub type InheritableRustVersion = InheritableField<RustVersion>;

Aliased Type§

pub enum InheritableRustVersion {
    Value(RustVersion),
    Inherit(TomlInheritedField),
}

Variants§

§

Value(RustVersion)

The type that is used when not inheriting from a workspace.

§

Inherit(TomlInheritedField)

The type when inheriting from a workspace.

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for InheritableRustVersion

Source§

fn deserialize<D>(d: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

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.