pub struct PlayerOptions {
pub is_360: bool,
pub without_vip: bool,
}Expand description
播放器选项
Fields§
§is_360: bool是否 360 全景视频
without_vip: boolTrait 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 moreSource§impl Debug for PlayerOptions
impl Debug for PlayerOptions
Source§impl<'de> Deserialize<'de> for PlayerOptions
impl<'de> Deserialize<'de> for PlayerOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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