ConstraintList

class ConstraintList

Methods

__init__

__init__

append

append

clear

clear

copy

copy

count

count

extend

extend

index

index

insert

insert

pop

pop

remove

remove

reverse

reverse

class Iterator
__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

戻り値の型:

Iterator

__next__(self) Constraint

__next__

戻り値の型:

Constraint

__add__(self, arg: ConstraintList, /) ConstraintList
__add__(self, arg: Constraint, /) ConstraintList

__add__

Overload 1.

Args:
  • arg (amplify.ConstraintList)

Returns:

amplify.ConstraintList:

Overload 2.

Args:
  • arg (amplify.Constraint)

Returns:

amplify.ConstraintList:

__copy__(self) ConstraintList

__copy__

戻り値の型:

ConstraintList

__deepcopy__(self, memo: object | None = None) ConstraintList

__deepcopy__

パラメータ:

memo (object | None) -- Defaults to None.

戻り値の型:

ConstraintList

__eq__(self, arg: object, /) bool

__eq__

パラメータ:

arg (object)

戻り値の型:

bool

__getitem__(self, key: int) Constraint

__getitem__

パラメータ:

key (int)

戻り値の型:

Constraint

__iadd__(self, arg: ConstraintList, /) ConstraintList
__iadd__(self, arg: Constraint, /) ConstraintList

__iadd__

Overload 1.

Args:
  • arg (amplify.ConstraintList)

Returns:

amplify.ConstraintList:

Overload 2.

Args:
  • arg (amplify.Constraint)

Returns:

amplify.ConstraintList:

__imul__(self, arg: float, /) ConstraintList

__imul__

パラメータ:

arg (float)

戻り値の型:

ConstraintList

__init__(self) None
__init__(self, arg: Sequence[Constraint]) None
__init__(self, arg: Iterable[Constraint]) None

__init__

Overload 2.

Args:
  • arg (collections.abc.Sequence[amplify.Constraint])

Overload 3.

Args:
  • arg (collections.abc.Iterable[amplify.Constraint])

__iter__(self) Iterator

__iter__

戻り値の型:

Iterator

__itruediv__(self, arg: float, /) ConstraintList

__itruediv__

パラメータ:

arg (float)

戻り値の型:

ConstraintList

__len__(self) int

__len__

戻り値の型:

int

__mul__(self, arg: float, /) ConstraintList

__mul__

パラメータ:

arg (float)

戻り値の型:

ConstraintList

__ne__(self, arg: object, /) bool

__ne__

パラメータ:

arg (object)

戻り値の型:

bool

__radd__(self, arg: Constraint, /) ConstraintList
__radd__(self, arg: int, /) ConstraintList

__radd__

Overload 1.

Args:
  • arg (amplify.Constraint)

Returns:

amplify.ConstraintList:

Overload 2.

Args:
  • arg (int)

Returns:

amplify.ConstraintList:

__repr__(self) str

__repr__

戻り値の型:

str

__rmul__(self, arg: float, /) ConstraintList

__rmul__

パラメータ:

arg (float)

戻り値の型:

ConstraintList

__setitem__(self, key: int, value: Constraint) None

__setitem__

パラメータ:
__str__(self) str

__str__

戻り値の型:

str

__truediv__(self, arg: float, /) ConstraintList

__truediv__

パラメータ:

arg (float)

戻り値の型:

ConstraintList

append(self, value: Constraint) None

append

パラメータ:

value (Constraint)

clear(self) None

clear

copy(self) ConstraintList

copy

戻り値の型:

ConstraintList

count(self, value: Constraint) int

count

パラメータ:

value (Constraint)

戻り値の型:

int

extend(self, sequence: Sequence[Constraint]) None

extend

パラメータ:

sequence (Sequence[Constraint])

index(self, value: Constraint) int
index(self, value: Constraint, start: int) int
index(self, value: Constraint, start: int, end: int) int

index

Overload 1.

Args:
  • value (amplify.Constraint)

Returns:

int:

Overload 2.

Args:
  • value (amplify.Constraint)

  • start (int)

Returns:

int:

Overload 3.

Args:
  • value (amplify.Constraint)

  • start (int)

  • end (int)

Returns:

int:

insert(self, index: int, value: Constraint) None

insert

パラメータ:
pop(self, index: int | None = None) Constraint

pop

パラメータ:

index (int | None) -- Defaults to None.

戻り値の型:

Constraint

remove(self, value: Constraint) None

remove

パラメータ:

value (Constraint)

reverse(self) None

reverse