pub struct LevelSelector { /* private fields */ }Implementations§
Source§impl LevelSelector
impl LevelSelector
pub fn new() -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn framerate(self, framerate: f32) -> Self
pub fn clamp(self, min: Level, max: Level) -> Self
pub fn max_bitrate(self, max_bitrate: u32) -> Self
pub fn tier(self, tier: Tier) -> Self
pub fn profile(self, profile: Profile) -> Self
pub fn select(self) -> Option<LevelSpecification>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LevelSelector
impl RefUnwindSafe for LevelSelector
impl Send for LevelSelector
impl Sync for LevelSelector
impl Unpin for LevelSelector
impl UnsafeUnpin for LevelSelector
impl UnwindSafe for LevelSelector
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