pub struct AutomationItem<'a, P: KnowsProject, T: ProbablyMutable> { /* private fields */ }

Implementations

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

Get the last point before the given time.

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

automation item pool ID (as an integer)

edits are propagated to all other automation items that share a pool ID

automation item pool ID (as an integer)

edits are propagated to all other automation items that share a pool ID

Whatever this means, it should be in range of 0.0 .. 1.0

base line seems to work from API (I can set and read it). But it is not set in interface, and didn’t affected to points in tests.

Amplitude should be in range of -1.0 .. 1.0

automation item pooled source length in quarter notes

(setting will affect all pooled instances)

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

Probably, if position == None — it can lead to moving point to the beginning

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

if only_visible == true, points will be presented as they are seen in project, including loop, if enabled.

otherwise — raw representation, including those, that are truncated by item bounds.

Trait Implementations

Formats the value using the given formatter. 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
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Returns the argument unchanged.

Calls U::from(self).

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

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.