[−][src]Struct lv2::prelude::Audio
Audio port type.
Audio ports are the most common type of input/output ports: Their input is a slice of audio samples, as well as their output.
Trait Implementations
impl PortType for Audio
[src]
type InputPortType = &'static [f32]
The type of input read by the port.
type OutputPortType = &'static mut [f32]
The type of output reference created by the port.
pub unsafe fn input_from_raw(
pointer: NonNull<c_void>,
sample_count: u32
) -> <Audio as PortType>::InputPortType
[src]
pointer: NonNull<c_void>,
sample_count: u32
) -> <Audio as PortType>::InputPortType
pub unsafe fn output_from_raw(
pointer: NonNull<c_void>,
sample_count: u32
) -> <Audio as PortType>::OutputPortType
[src]
pointer: NonNull<c_void>,
sample_count: u32
) -> <Audio as PortType>::OutputPortType
impl UriBound for Audio
[src]
Auto Trait Implementations
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,