pub struct MetadataKind;Expand description
Marker type for metadata frame capture operations.
Trait Implementations§
Source§impl CaptureKind for MetadataKind
impl CaptureKind for MetadataKind
Source§const FRAME_TYPE: c_uint = NDIlib_frame_type_e_NDIlib_frame_type_metadata
const FRAME_TYPE: c_uint = NDIlib_frame_type_e_NDIlib_frame_type_metadata
The frame-type discriminant
NDIlib_recv_capture_v3 returns for this kind.Source§type Ref<'rx> = MetadataFrameRef<'rx>
type Ref<'rx> = MetadataFrameRef<'rx>
The borrowed, zero-copy view of a captured frame, tied to the receiver
that produced it.
Source§type Owned = MetadataFrame
type Owned = MetadataFrame
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 MetadataKind
impl FrameFree for MetadataKind
Source§const REF_DEBUG_NAME: &'static str = "MetadataFrameRef"
const REF_DEBUG_NAME: &'static str = "MetadataFrameRef"
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 MetadataKind
impl RefUnwindSafe for MetadataKind
impl Send for MetadataKind
impl Sync for MetadataKind
impl Unpin for MetadataKind
impl UnsafeUnpin for MetadataKind
impl UnwindSafe for MetadataKind
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