type MaybeWorkspaceDependency = MaybeWorkspace<TomlDependency, TomlWorkspaceDependency>;

Aliased Type§

enum MaybeWorkspaceDependency {
    Defined(TomlDependency<String>),
    Workspace(TomlWorkspaceDependency),
}

Variants§

§

Defined(TomlDependency<String>)

The “defined” type, or the type that that is used when not inheriting from a workspace.

§

Workspace(TomlWorkspaceDependency)

The type when inheriting from a workspace.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 320 bytes

Size for each variant:

  • Defined: 320 bytes
  • Workspace: 56 bytes