#[repr(transparent)]pub struct DegradationPreference {
pub repr: i32,
}Fields§
§repr: i32Implementations§
Source§impl DegradationPreference
impl DegradationPreference
Sourcepub const MaintainFramerateAndResolution: Self
pub const MaintainFramerateAndResolution: Self
Maintain both framerate and resolution. Frames may be dropped before encoding
if necessary to avoid overusing network and encoder resources.
Note: This was previously called Disabled in older WebRTC versions.
pub const MaintainFramerate: Self
pub const MaintainResolution: Self
pub const Balanced: Self
Trait Implementations§
Source§impl Clone for DegradationPreference
impl Clone for DegradationPreference
impl Copy for DegradationPreference
Source§impl Debug for DegradationPreference
impl Debug for DegradationPreference
impl Eq for DegradationPreference
Source§impl ExternType for DegradationPreference
impl ExternType for DegradationPreference
Source§impl PartialEq for DegradationPreference
impl PartialEq for DegradationPreference
impl StructuralPartialEq for DegradationPreference
Auto Trait Implementations§
impl Freeze for DegradationPreference
impl RefUnwindSafe for DegradationPreference
impl Send for DegradationPreference
impl Sync for DegradationPreference
impl Unpin for DegradationPreference
impl UnsafeUnpin for DegradationPreference
impl UnwindSafe for DegradationPreference
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