pub struct TrackSend<'a, T: ProbablyMutable> { /* private fields */ }
Expand description

Main Send type, that commonly used.

Use this struct to construct new sends from one Track to another.

Implementations

The only way to make TrackSend from one track to another.

It should guarantee, that no track, no project itself are not borrowed as mutable (Track<Mutable>). But, actually, it mutates source or destination track.

As TrackSend mutates only the field it responses to, and it almost can not affect other objects state — It uses a hack to mutate <Immutable> tracks. Keep this in mind.

Trait Implementations

Formats the value using the given formatter. Read more

Track that sends outside

Core method to retrieve send properties. With probability of 99% you shouldn’t use it. Read more
Phase flipped if true.
Note, that mono parameter is not equal to SendDestChannels and SendSourceChannels is_mono parameters. Read more
If None returned — the audio is off.
Returns None if source_channels are None.
If None is returned — MIDI is off.
Selector is either EnvelopeChunk or GUID. Read more
Remove send from track. This also drops the value. Read more
Core method to set send properties. With probability of 99% you shouldn’t use it. Read more
Phase flipped if true.
Can not set Bypass Use None for default track mode. Read more
Pass None if want to turn audio off.
If source channels are off it will return ReaperError::InvalidObject Read more
Pass None if want to turn MIDI off.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
<0 for receives, 0=sends, >0 for hardware outputs.
<0 for receives, 0=sends, >0 for hardware outputs.

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.