pub struct Swell { /* private fields */ }
Expand description

This is the low-level API access point to all SWELL functions.

SWELL is the Simple Windows Emulation Layer and is exposed by REAPER for Linux and Mac OS X.

See Reaper for details how to use this struct (it’s very similar).

Implementations

Loads all available SWELL functions from the given plug-in context.

Returns a Swell instance which allows you to call these functions.

On Windows, this function will not load any function pointers because the methods in this struct delegate to the corresponding Windows functions.

Panics

If this is Linux and the SWELL function provider is not available, this function panics.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

This impl block contains functions which exist in SWELL as macros and therefore are not picked up by bindgen.

Makes the given instance available globally.

After this has been called, the instance can be queried globally using get().

This can be called once only. Subsequent calls won’t have any effect!

Gives access to the instance which you made available globally before.

Panics

This panics if make_available_globally() has not been called before.

Gives access to the SWELL function pointers.

Returns the plug-in context.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Safety

REAPER can crash if you pass an invalid pointer.

Attention: Whereas the Windows original returns a length, this just returns success.

In order to avoid surprises, on Windows it will behave like this, too.

Safety

REAPER can crash if you pass an invalid pointer.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. 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.