@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class RustBinaryDescriptionArg extends Object
RustBinaryDescription.AbstractRustBinaryDescriptionArg.
Use the builder to create immutable instances:
RustBinaryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
RustBinaryDescriptionArg.Builder
Builds instances of type
RustBinaryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static RustBinaryDescriptionArg.Builder |
builder()
Creates a builder for
RustBinaryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
RustBinaryDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<String> |
getCrate() |
Optional<String> |
getCrateRoot() |
Optional<Flavor> |
getDefaultPlatform() |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
Optional<String> |
getEdition() |
com.google.common.collect.ImmutableSortedMap<String,StringWithMacros> |
getEnv() |
com.google.common.collect.ImmutableSortedSet<String> |
getFeatures() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<Linker.LinkableDepType> |
getLinkStyle() |
com.google.common.collect.ImmutableSortedMap<SourcePath,String> |
getMappedSrcs() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableSortedMap<String,BuildTarget> |
getNamedDeps() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getRustcFlags() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<String> |
getVersionUniverse() |
int |
hashCode()
Computes a hash code from attributes:
linkerFlags, linkStyle, rpath, mappedSrcs, env, edition, features, rustcFlags, crate, crateRoot, platformDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, namedDeps, deps, srcs, defaultPlatform, tests, versionUniverse. |
boolean |
isRpath() |
String |
toString()
Prints the immutable value
RustBinaryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle attributepublic boolean isRpath()
rpath attributepublic com.google.common.collect.ImmutableSortedMap<SourcePath,String> getMappedSrcs()
mappedSrcs attributepublic com.google.common.collect.ImmutableSortedMap<String,StringWithMacros> getEnv()
env attributepublic com.google.common.collect.ImmutableSortedSet<String> getFeatures()
features attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getRustcFlags()
rustcFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArgconfig_setting a target is compatible with.compatibleWith attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArgThe value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
defaultTargetPlatform attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses attributepublic String getName()
ConstructorArgname attributepublic com.google.common.collect.ImmutableSortedMap<String,BuildTarget> getNamedDeps()
namedDeps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs attributepublic Optional<Flavor> getDefaultPlatform()
defaultPlatform attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
tests attributepublic Optional<String> getVersionUniverse()
versionUniverse attributepublic boolean equals(@Nullable Object another)
RustBinaryDescriptionArg that have equal attribute values.public int hashCode()
linkerFlags, linkStyle, rpath, mappedSrcs, env, edition, features, rustcFlags, crate, crateRoot, platformDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, namedDeps, deps, srcs, defaultPlatform, tests, versionUniverse.public String toString()
RustBinaryDescriptionArg with attribute values.public static RustBinaryDescriptionArg.Builder builder()
RustBinaryDescriptionArg.