pub struct RtpMap(/* private fields */);Expand description
A crate::RtpMap builder.
Implementations§
Source§impl RtpMap
impl RtpMap
pub fn new( payload_type: u8, encoding_name: impl ToString, clock_rate: u32, ) -> Self
pub fn encoding_params(self, encoding_params: impl ToString) -> Self
pub fn encoding_params_if( self, encoding_params: impl ToString, predicate: bool, ) -> Self
pub fn encoding_params_if_some( self, encoding_params: Option<impl ToString>, ) -> Self
pub fn build(self) -> RtpMap
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtpMap
impl RefUnwindSafe for RtpMap
impl Send for RtpMap
impl Sync for RtpMap
impl Unpin for RtpMap
impl UnsafeUnpin for RtpMap
impl UnwindSafe for RtpMap
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