pub enum SubtitlePosition {
Bottom,
Top,
Center,
Custom {
x: u32,
y: u32,
},
}Expand description
Subtitle display position.
Variants§
Bottom
Bottom of the screen (default).
Top
Top of the screen.
Center
Center of the screen.
Custom
Custom pixel coordinates.
Trait Implementations§
Source§impl Clone for SubtitlePosition
impl Clone for SubtitlePosition
Source§fn clone(&self) -> SubtitlePosition
fn clone(&self) -> SubtitlePosition
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 moreimpl Copy for SubtitlePosition
Source§impl Debug for SubtitlePosition
impl Debug for SubtitlePosition
Source§impl Default for SubtitlePosition
impl Default for SubtitlePosition
Source§fn default() -> SubtitlePosition
fn default() -> SubtitlePosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubtitlePosition
impl<'de> Deserialize<'de> for SubtitlePosition
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 SubtitlePosition
impl RefUnwindSafe for SubtitlePosition
impl Send for SubtitlePosition
impl Sync for SubtitlePosition
impl Unpin for SubtitlePosition
impl UnsafeUnpin for SubtitlePosition
impl UnwindSafe for SubtitlePosition
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