[][src]Module lv2::prelude

The super-prelude that contains the preludes of all enabled crates.

Macros

lv2_descriptors

Generate external symbols for LV2 plugins.

match_extensions

Generate the body of a plugin's extension_data function.

Structs

AtomPort

The port type for Atom IO.

AtomURID

A scalar atom containing a URID.

AtomURIDCollection

Collection with the URIDs of all UriBounds in this crate.

Audio

Audio port type.

Bar
Beat
BeatPerMinute
Bool

A scalar atom representing a boolean.

CV

CV port type.

Cent
Centimeter
Chunk

An atom containing memory of undefined type.

Coefficient
Control

Control value port type.

Decibel
Degree
Double

A scalar atom containing a f64 (f64 on most platforms).

FeatureCache

Cache for host features, used in the feature discovery stage.

Float

A scalar atom containing a f32 (f32 on most platforms).

Frame
FramedMutSpace

A MutSpace that notes the amount of allocated space in an atom header.

HashURIDMapper

A simple URI → URID mapper, backed by a standard HashMap and a Mutex for multi-thread access.

Hertz
HostMap

A wrapper for a URID (un)mapper that exposes it as an LV2 host feature.

Inch
InputPort

Handle for input ports.

Int

A scalar atom containing a i32 (i32 on most platforms).

Kilohertz
Kilometer
LV2Map

Host feature to map URIs to integers

LV2Unmap

Host feature to revert the URI -> URID mapping.

LV2_Descriptor

Plugin Descriptor.

Literal

An atom containing either a localized string or an RDF literal.

Long

A scalar atom containing a i64 (i64 on most platforms).

MIDINote
Megahertz
Meter
MidiEvent

Midi Event.

MidiURIDCollection

Collection with the URIDs of all UriBounds in this crate.

Mile
Millimeter
Millisecond
Minute
MissingFeatureError

An error created during feature resolution when a required feature is missing.

Object

An atom containing multiple key-value pairs.

ObjectHeader

Information about an object atom.

Octave
OutputPort

Handle for output ports.

Percent
PluginInfo

Holds various data that is passed from the host at plugin instantiation time.

PluginInstance

Plugin wrapper which translated between the host and the plugin.

PropertyHeader

Information about a property atom.

Second
Semitone
Sequence

An atom containing a sequence of time-stamped events.

Space

Specialized smart pointer to retrieve struct instances from a slice of memory.

String

An atom containing a UTF-8 encoded string.

SystemExclusiveWMidiEvent

System exclusive MIDI event.

Tuple

An atom containing a series of other atoms.

URID

Representation of a URI for fast comparisons.

UnidentifiedAtom

An atom of yet unknown type.

UnitURIDCollection

A URID cache containing all units.

Vector

An atom containg an array of scalar atom bodies.

WMidiEvent

Midi event.

Enums

LiteralInfo

The type or language URID of a literal.

ThreadingClass

All threading contexts of LV2 interface methods.

TimeStamp

An event time stamp.

TimeStampURID

The measuring units of time stamps, with their URIDs.

Traits

Atom

Atom type.

ExtensionDescriptor

A descriptor for a plugin extension.

FeatureCollection

Convenience trait for feature collections.

Map

A handle to map URIs to URIDs.

MutSpace

A smart pointer that writes atom data to an internal slice.

Plugin

The central trait to describe LV2 plugins.

PortCollection

Collection of IO ports.

PortHandle

Abstraction of safe port handles.

PortPointerCache

Cache for port connection pointers.

PortType

Generalization of port types.

URIDCollection

A store of pre-mapped URIDs

Unmap

A handle to map URIDs to URIs.

UriBound

A trait for types that can be identified by a URI.

Type Definitions

Uri

Representation of a borrowed Uri.

UriBuf

Representation of an owned Uri.

Attribute Macros

uri

Derive Macros

FeatureCollection
PortCollection

Implement the PortCollection trait for a port struct.

URIDCollection