pub struct TransceiverInit(/* private fields */);Expand description
Dart side representation of an RTCRtpTransceiverInit.
Implementations§
Source§impl TransceiverInit
impl TransceiverInit
Sourcepub fn new(direction: TransceiverDirection) -> Self
pub fn new(direction: TransceiverDirection) -> Self
Creates a new TransceiverInit.
Sourcepub fn handle(&self) -> Dart_Handle
pub fn handle(&self) -> Dart_Handle
Returns the underlying Dart_Handle of this TransceiverInit.
Sourcepub fn set_send_encodings(&self, encodings: Vec<SendEncodingParameters>)
pub fn set_send_encodings(&self, encodings: Vec<SendEncodingParameters>)
Adds the provided SendEncodingParameters to this
TransceiverInit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransceiverInit
impl RefUnwindSafe for TransceiverInit
impl !Send for TransceiverInit
impl !Sync for TransceiverInit
impl Unpin for TransceiverInit
impl UnwindSafe for TransceiverInit
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