pub enum RsResolution {
UHD,
FullHD,
HD,
Custom(String),
Unknown,
}Variants§
Implementations§
Source§impl RsResolution
impl RsResolution
pub fn from_filename(filename: &str) -> Self
Trait Implementations§
Source§impl Clone for RsResolution
impl Clone for RsResolution
Source§impl Debug for RsResolution
impl Debug for RsResolution
Source§impl Default for RsResolution
impl Default for RsResolution
Source§impl<'de> Deserialize<'de> for RsResolution
impl<'de> Deserialize<'de> for RsResolution
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
Source§impl Display for RsResolution
impl Display for RsResolution
Source§impl FromStr for RsResolution
impl FromStr for RsResolution
Source§impl PartialEq for RsResolution
impl PartialEq for RsResolution
Source§impl Serialize for RsResolution
impl Serialize for RsResolution
impl StructuralPartialEq for RsResolution
Auto Trait Implementations§
impl Forget for RsResolution
impl Freeze for RsResolution
impl Move for RsResolution
impl RefUnwindSafe for RsResolution
impl Send for RsResolutionwhere
RawVecInner: Send,
impl Sync for RsResolutionwhere
RawVecInner: Sync,
impl Unpin for RsResolution
impl UnsafeUnpin for RsResolution
impl UnwindSafe for RsResolutionwhere
RawVecInner: UnwindSafe,
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