Struct ci2_remote_control::OpenH264Options
source · pub struct OpenH264Options {
pub debug: bool,
pub preset: OpenH264Preset,
}
Fields§
§debug: bool
Whether OpenH264 should emit debug messages
preset: OpenH264Preset
Implementations§
source§impl OpenH264Options
impl OpenH264Options
pub fn debug(&self) -> bool
pub fn enable_skip_frame(&self) -> bool
pub fn rate_control_mode(&self) -> OpenH264RateControlMode
pub fn bitrate_bps(&self) -> u32
Trait Implementations§
source§impl Clone for OpenH264Options
impl Clone for OpenH264Options
source§fn clone(&self) -> OpenH264Options
fn clone(&self) -> OpenH264Options
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 OpenH264Options
impl Debug for OpenH264Options
source§impl Default for OpenH264Options
impl Default for OpenH264Options
source§fn default() -> OpenH264Options
fn default() -> OpenH264Options
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OpenH264Options
impl<'de> Deserialize<'de> for OpenH264Options
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 OpenH264Options
impl PartialEq for OpenH264Options
source§fn eq(&self, other: &OpenH264Options) -> bool
fn eq(&self, other: &OpenH264Options) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OpenH264Options
impl Serialize for OpenH264Options
impl StructuralPartialEq for OpenH264Options
Auto Trait Implementations§
impl Freeze for OpenH264Options
impl RefUnwindSafe for OpenH264Options
impl Send for OpenH264Options
impl Sync for OpenH264Options
impl Unpin for OpenH264Options
impl UnwindSafe for OpenH264Options
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