Struct ci2_remote_control::NvidiaH264Options
source · pub struct NvidiaH264Options {
pub bitrate: u32,
pub cuda_device: i32,
}
Fields§
§bitrate: u32
The bitrate (used in association with the framerate).
cuda_device: i32
The device number of the CUDA device to use.
Trait Implementations§
source§impl Clone for NvidiaH264Options
impl Clone for NvidiaH264Options
source§fn clone(&self) -> NvidiaH264Options
fn clone(&self) -> NvidiaH264Options
Returns a copy of the value. Read more
1.0.0 · 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 NvidiaH264Options
impl Debug for NvidiaH264Options
source§impl Default for NvidiaH264Options
impl Default for NvidiaH264Options
source§impl<'de> Deserialize<'de> for NvidiaH264Options
impl<'de> Deserialize<'de> for NvidiaH264Options
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NvidiaH264Options
impl PartialEq for NvidiaH264Options
source§fn eq(&self, other: &NvidiaH264Options) -> bool
fn eq(&self, other: &NvidiaH264Options) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NvidiaH264Options
impl Serialize for NvidiaH264Options
impl Eq for NvidiaH264Options
impl StructuralPartialEq for NvidiaH264Options
Auto Trait Implementations§
impl Freeze for NvidiaH264Options
impl RefUnwindSafe for NvidiaH264Options
impl Send for NvidiaH264Options
impl Sync for NvidiaH264Options
impl Unpin for NvidiaH264Options
impl UnwindSafe for NvidiaH264Options
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