Trait servo_media_streams::MediaStream

source ·
pub trait MediaStream: Any + Send {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn as_mut_any(&mut self) -> &mut dyn Any;
    fn set_id(&mut self, id: MediaStreamId);
    fn ty(&self) -> MediaStreamType;
}

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn as_mut_any(&mut self) -> &mut dyn Any

source

fn set_id(&mut self, id: MediaStreamId)

source

fn ty(&self) -> MediaStreamType

Implementors§