pub enum VideoProjectionSpecifier {
Rectilinear,
Equirectangular,
HalfEquirectangular,
ParametricImmersive,
}Expand description
Corresponds to the “Video Projection Specifier” within the #EXT-X-STREAM-INF:REQ-VIDEO-LAYOUT
attribute.
See StreamInf for a link to the HLS documentation for this attribute.
Variants§
Rectilinear
Indicates that there is no projection.
Equirectangular
Indicates a 360 degree spherical projection.
HalfEquirectangular
Indicates a 180 degree spherical projection.
ParametricImmersive
Indicates that the image is a parametric spherical projection.
Trait Implementations§
Source§impl Clone for VideoProjectionSpecifier
impl Clone for VideoProjectionSpecifier
Source§fn clone(&self) -> VideoProjectionSpecifier
fn clone(&self) -> VideoProjectionSpecifier
Returns a duplicate of the value. Read more
1.0.0 · 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 VideoProjectionSpecifier
impl Debug for VideoProjectionSpecifier
Source§impl Display for VideoProjectionSpecifier
impl Display for VideoProjectionSpecifier
Source§impl From<VideoProjectionSpecifier> for Cow<'_, str>
impl From<VideoProjectionSpecifier> for Cow<'_, str>
Source§fn from(value: VideoProjectionSpecifier) -> Self
fn from(value: VideoProjectionSpecifier) -> Self
Converts to this type from the input type.
Source§impl From<VideoProjectionSpecifier> for EnumeratedString<'_, VideoProjectionSpecifier>
impl From<VideoProjectionSpecifier> for EnumeratedString<'_, VideoProjectionSpecifier>
Source§fn from(value: VideoProjectionSpecifier) -> Self
fn from(value: VideoProjectionSpecifier) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VideoProjectionSpecifier
impl PartialEq for VideoProjectionSpecifier
Source§impl<'a> TryFrom<&'a str> for VideoProjectionSpecifier
impl<'a> TryFrom<&'a str> for VideoProjectionSpecifier
impl Copy for VideoProjectionSpecifier
impl StructuralPartialEq for VideoProjectionSpecifier
Auto Trait Implementations§
impl Freeze for VideoProjectionSpecifier
impl RefUnwindSafe for VideoProjectionSpecifier
impl Send for VideoProjectionSpecifier
impl Sync for VideoProjectionSpecifier
impl Unpin for VideoProjectionSpecifier
impl UnsafeUnpin for VideoProjectionSpecifier
impl UnwindSafe for VideoProjectionSpecifier
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