#[repr(C)]pub enum ThemeMediaType {
MinWidth = 0,
MaxWidth = 1,
MinHeight = 2,
MaxHeight = 3,
MonId = 4,
MinAspectRatio = 5,
MaxAspectRatio = 6,
Boolean = 7,
Invalid = 8,
}Expand description
Describes the media constraint type.
Variants§
MinWidth = 0
Minimum width constraint.
MaxWidth = 1
Maximum width constraint.
MinHeight = 2
Minimum height constraint.
MaxHeight = 3
Maximum height constraint.
MonId = 4
Monitor id constraint.
MinAspectRatio = 5
Minimum aspect ratio constraint.
MaxAspectRatio = 6
Maximum aspect ratio constraint.
Boolean = 7
Boolean option for use with env.
Invalid = 8
Invalid entry.
Trait Implementations§
Source§impl Clone for ThemeMediaType
impl Clone for ThemeMediaType
Source§fn clone(&self) -> ThemeMediaType
fn clone(&self) -> ThemeMediaType
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 ThemeMediaType
impl Debug for ThemeMediaType
Source§impl Hash for ThemeMediaType
impl Hash for ThemeMediaType
Source§impl PartialEq for ThemeMediaType
impl PartialEq for ThemeMediaType
impl Copy for ThemeMediaType
impl Eq for ThemeMediaType
impl StructuralPartialEq for ThemeMediaType
Auto Trait Implementations§
impl Freeze for ThemeMediaType
impl RefUnwindSafe for ThemeMediaType
impl Send for ThemeMediaType
impl Sync for ThemeMediaType
impl Unpin for ThemeMediaType
impl UnwindSafe for ThemeMediaType
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