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