pub struct VideoTrack { /* private fields */ }Implementations§
Source§impl VideoTrack
impl VideoTrack
pub fn add_sink(&self, sink: &SharedPtr<NativeVideoSink>)
pub fn remove_sink(&self, sink: &SharedPtr<NativeVideoSink>)
pub fn set_should_receive(&self, should_receive: bool)
pub fn should_receive(&self) -> bool
pub fn content_hint(&self) -> ContentHint
pub fn set_content_hint(&self, hint: ContentHint)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for VideoTrack
impl RefUnwindSafe for VideoTrack
impl !Unpin for VideoTrack
impl UnwindSafe for VideoTrack
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