pub struct PyOxidizerContext {}
Expand description

Starlark type holding context for PyOxidizer.

Trait Implementations§

Returns the “default value” for a type. Read more
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).
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).
Compare self with other for equality. Read more
Compare self with other. Read more
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.
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.
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
Apply the operator pipe to the current value and other. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Converts self into T using Into<T>. Read more
Causes self to use its Binary implementation when Debug-formatted.
Causes self to use its Display implementation when Debug-formatted.
Causes self to use its LowerExp implementation when Debug-formatted.
Causes self to use its LowerHex implementation when Debug-formatted.
Causes self to use its Octal implementation when Debug-formatted.
Causes self to use its Pointer implementation when Debug-formatted.
Causes self to use its UpperExp implementation when Debug-formatted.
Causes self to use its UpperHex implementation when Debug-formatted.
Formats each item in a sequence. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Pipes by value. This is generally the method you want to use. Read more
Borrows self and passes that borrow into the pipe function. Read more
Mutably borrows self and passes that borrow into the pipe function. Read more
Borrows self, then passes self.borrow() into the pipe function. Read more
Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Borrows self, then passes self.as_ref() into the pipe function.
Mutably borrows self, then passes self.as_mut() into the pipe function.
Borrows self, then passes self.deref() into the pipe function.
Mutably borrows self, then passes self.deref_mut() into the pipe function.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Immutable access to a value. Read more
Mutable access to a value. Read more
Immutable access to the Borrow<B> of a value. Read more
Mutable access to the BorrowMut<B> of a value. Read more
Immutable access to the AsRef<R> view of a value. Read more
Mutable access to the AsMut<R> view of a value. Read more
Immutable access to the Deref::Target of a value. Read more
Mutable access to the Deref::Target of a value. Read more
Calls .tap() only in debug builds, and is erased in release builds.
Calls .tap_mut() only in debug builds, and is erased in release builds.
Calls .tap_borrow() only in debug builds, and is erased in release builds.
Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Calls .tap_ref() only in debug builds, and is erased in release builds.
Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Calls .tap_deref() only in debug builds, and is erased in release builds.
Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Attempts to convert self into T using TryInto<T>. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more