pub struct EncoderSessionInfo {
pub session_id: u32,
pub pid: Pid,
pub vgpu_instance: u32,
pub codec_type: EncoderType,
pub horizontal_resolution: u32,
pub vertical_resolution: u32,
pub average_fps: u32,
pub average_latency_us: u32,
}Fields§
§session_id: u32§pid: Pid§vgpu_instance: u32§codec_type: EncoderType§horizontal_resolution: u32§vertical_resolution: u32§average_fps: u32§average_latency_us: u32Trait Implementations§
Source§impl Clone for EncoderSessionInfo
impl Clone for EncoderSessionInfo
Source§fn clone(&self) -> EncoderSessionInfo
fn clone(&self) -> EncoderSessionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncoderSessionInfo
impl Debug for EncoderSessionInfo
Source§impl From<nvmlEncoderSessionInfo_st> for EncoderSessionInfo
impl From<nvmlEncoderSessionInfo_st> for EncoderSessionInfo
Source§fn from(value: nvmlEncoderSessionInfo_t) -> Self
fn from(value: nvmlEncoderSessionInfo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for EncoderSessionInfo
impl Hash for EncoderSessionInfo
Source§impl PartialEq for EncoderSessionInfo
impl PartialEq for EncoderSessionInfo
Source§fn eq(&self, other: &EncoderSessionInfo) -> bool
fn eq(&self, other: &EncoderSessionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EncoderSessionInfo
impl Eq for EncoderSessionInfo
impl StructuralPartialEq for EncoderSessionInfo
Auto Trait Implementations§
impl Freeze for EncoderSessionInfo
impl RefUnwindSafe for EncoderSessionInfo
impl Send for EncoderSessionInfo
impl Sync for EncoderSessionInfo
impl Unpin for EncoderSessionInfo
impl UnsafeUnpin for EncoderSessionInfo
impl UnwindSafe for EncoderSessionInfo
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