#[repr(C)]pub struct switch_mm_s {Show 20 fields
pub samplerate: c_int,
pub channels: c_int,
pub keyint: c_int,
pub ab: c_int,
pub vb: c_int,
pub vw: c_int,
pub vh: c_int,
pub cbr: c_int,
pub fps: f32,
pub source_fps: f32,
pub source_kps: c_int,
pub vbuf: c_int,
pub vprofile: switch_video_profile_t,
pub vencspd: switch_video_encode_speed_t,
pub try_hardware_encoder: u8,
pub scale_w: c_int,
pub scale_h: c_int,
pub fmt: switch_img_fmt_t,
pub auth_username: *mut c_char,
pub auth_password: *mut c_char,
}Fields§
§samplerate: c_int§channels: c_int§keyint: c_int§ab: c_int§vb: c_int§vw: c_int§vh: c_int§cbr: c_int§fps: f32§source_fps: f32§source_kps: c_int§vbuf: c_int§vprofile: switch_video_profile_t§vencspd: switch_video_encode_speed_t§try_hardware_encoder: u8§scale_w: c_int§scale_h: c_int§fmt: switch_img_fmt_t§auth_username: *mut c_char§auth_password: *mut c_charTrait Implementations§
Source§impl Clone for switch_mm_s
impl Clone for switch_mm_s
Source§fn clone(&self) -> switch_mm_s
fn clone(&self) -> switch_mm_s
Returns a duplicate 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 switch_mm_s
impl Debug for switch_mm_s
impl Copy for switch_mm_s
Auto Trait Implementations§
impl Freeze for switch_mm_s
impl RefUnwindSafe for switch_mm_s
impl !Send for switch_mm_s
impl !Sync for switch_mm_s
impl Unpin for switch_mm_s
impl UnwindSafe for switch_mm_s
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