pub struct AudioKind;Expand description
Marker type for audio frame capture operations.
Trait Implementations§
Source§impl CaptureKind for AudioKind
impl CaptureKind for AudioKind
Source§const FRAME_TYPE: c_uint = NDIlib_frame_type_e_NDIlib_frame_type_audio
const FRAME_TYPE: c_uint = NDIlib_frame_type_e_NDIlib_frame_type_audio
The frame-type discriminant
NDIlib_recv_capture_v3 returns for this kind.Source§type Ref<'rx> = AudioRef<'rx, AudioKind>
type Ref<'rx> = AudioRef<'rx, AudioKind>
The borrowed, zero-copy view of a captured frame, tied to the receiver
that produced it.
Source§type Owned = AudioFrame
type Owned = AudioFrame
The owned,
'static frame produced by copying a borrowed view.Source§unsafe fn capture_into(
instance: *mut NDIlib_recv_instance_type,
frame: *mut Self::RawFrame,
timeout_ms: u32,
) -> c_uint
unsafe fn capture_into( instance: *mut NDIlib_recv_instance_type, frame: *mut Self::RawFrame, timeout_ms: u32, ) -> c_uint
Run a capture for this kind, routing
frame into the matching
NDIlib_recv_capture_v3 slot and ignoring the others. Read moreSource§impl FrameFree for AudioKind
impl FrameFree for AudioKind
Source§const REF_DEBUG_NAME: &'static str = "AudioFrameRef"
const REF_DEBUG_NAME: &'static str = "AudioFrameRef"
The
Debug struct name of the borrowed reference that wraps this guard
(e.g. "VideoFrameRef" or "FrameSyncVideoRef"), so the shared generic
Debug impls render the historically-correct type name.Auto Trait Implementations§
impl Freeze for AudioKind
impl RefUnwindSafe for AudioKind
impl Send for AudioKind
impl Sync for AudioKind
impl Unpin for AudioKind
impl UnsafeUnpin for AudioKind
impl UnwindSafe for AudioKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more