Struct starlark_dialect_build_targets::ResolvedTargetValue [−][src]
pub struct ResolvedTargetValue {
pub inner: ResolvedTarget,
}
Fields
inner: ResolvedTarget
Trait Implementations
Performs the conversion.
type Holder = Mutable<ResolvedTargetValue>
type Holder = Mutable<ResolvedTargetValue>
Must be either MutableHolder<Self>
or ImmutableHolder<Self>
Return a string describing the type of self, as returned by the type() function.
Return a list of values to be used in freeze or descendant check operations. Read more
Return function id to detect recursion. Read more
Return a string describing of self, as returned by the str() function.
The implementation of to_str
, more efficient for nested objects
Return a string representation of self, as returned by the repr() function.
The implementation of to_repr
, more efficient for nested objects
Convert self to a Boolean truth value, as returned by the bool() function.
Convert self to a integer value, as returned by the int() function if the type is numeric (not for string). Read more
Return a hash code for self, as returned by the hash() function, or OperationNotSupported if there is no hash for this value (e.g. list). Read more
Compare self
with other
for equality. Read more
Compare self
with other
. Read more
fn call(
&self,
_call_stack: &mut CallStack,
_type_values: &TypeValues,
_positional: Vec<Value, Global>,
_named: LinkedHashMap<RcString, Value, RandomState>,
_args: Option<Value>,
_kwargs: Option<Value>
) -> Result<Value, ValueError>
fn call(
&self,
_call_stack: &mut CallStack,
_type_values: &TypeValues,
_positional: Vec<Value, Global>,
_named: LinkedHashMap<RcString, Value, RandomState>,
_args: Option<Value>,
_kwargs: Option<Value>
) -> Result<Value, ValueError>
Perform a call on the object, only meaningfull for function object. Read more
Perform an array or dictionary indirection. Read more
Set the value at index
with new_value
. Read more
Extract a slice of the underlying object if the object is indexable. The result will be
object between start
and stop
(both of them are added length() if negative and then
clamped between 0 and length()). stride
indicates the direction. Read more
Returns an iterable over the value of this container if this value hold an iterable container. Read more
Returns the length of the value, if this value is a sequence.
Get an attribute for the current value as would be returned by dotted expression (i.e.
a.attribute
). Read more
Return true if an attribute of name attribute
exists for the current value. Read more
Set the attribute named attribute
of the current value to new_value
(e.g.
a.attribute = new_value
). Read more
Return a vector of string listing all attribute of the current value, excluding native methods. Read more
Tell wether other
is in the current value, if it is a container. Read more
Apply the +
unary operator to the current value. Read more
Apply the -
unary operator to the current value. Read more
Add other
to the current value. Read more
Substract other
from the current value. Read more
Multiply the current value with other
. Read more
Apply the percent operator between the current value and other
. Read more
Divide the current value with other
. division. Read more
Floor division between the current value and other
. Read more