[−][src]Struct b2m::MediaInfo
Fields
url: Url
title: Option<String>
referrer: Option<String>
user_agent: Option<String>
Implementations
impl MediaInfo
[src]
pub fn new(url: Url, title: Option<String>, referrer: Option<String>) -> Self
[src]
pub fn with_ua(
url: Url,
title: Option<String>,
referrer: Option<String>,
user_agent: Option<String>
) -> Self
[src]
url: Url,
title: Option<String>,
referrer: Option<String>,
user_agent: Option<String>
) -> Self
pub fn default_ua(
url: Url,
title: Option<String>,
referrer: Option<String>
) -> Self
[src]
url: Url,
title: Option<String>,
referrer: Option<String>
) -> Self
pub fn play(&self) -> IoResult<()>
[src]
pub fn as_command(&self) -> Command
[src]
Spwans commands to run mpv
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MediaInfo
impl Send for MediaInfo
impl Sync for MediaInfo
impl Unpin for MediaInfo
impl UnwindSafe for MediaInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,