pub struct PlayerOptions {
pub executable: PathBuf,
pub kind: PlayerKind,
pub no_detach: bool,
pub exit_after_play: bool,
}Fields§
§executable: PathBuf§kind: PlayerKind§no_detach: bool§exit_after_play: boolImplementations§
Source§impl PlayerOptions
impl PlayerOptions
pub fn default_player() -> Self
pub fn default_mpv() -> Self
pub fn default_iina() -> Self
pub fn default_android_mpv() -> Self
Trait Implementations§
Source§impl Clone for PlayerOptions
impl Clone for PlayerOptions
Source§fn clone(&self) -> PlayerOptions
fn clone(&self) -> PlayerOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlayerOptions
impl RefUnwindSafe for PlayerOptions
impl Send for PlayerOptions
impl Sync for PlayerOptions
impl Unpin for PlayerOptions
impl UnsafeUnpin for PlayerOptions
impl UnwindSafe for PlayerOptions
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