pub enum VSyncPolarity {
PVSync,
NVSync,
}Expand description
Modeline vertical syncing polarity.
Variants§
Trait Implementations§
Source§impl Clone for VSyncPolarity
impl Clone for VSyncPolarity
Source§fn clone(&self) -> VSyncPolarity
fn clone(&self) -> VSyncPolarity
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 VSyncPolarity
impl Debug for VSyncPolarity
Source§impl<'de> Deserialize<'de> for VSyncPolarity
impl<'de> Deserialize<'de> for VSyncPolarity
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 FromStr for VSyncPolarity
impl FromStr for VSyncPolarity
Source§impl PartialEq for VSyncPolarity
impl PartialEq for VSyncPolarity
Source§impl Serialize for VSyncPolarity
impl Serialize for VSyncPolarity
impl Copy for VSyncPolarity
impl Eq for VSyncPolarity
impl StructuralPartialEq for VSyncPolarity
Auto Trait Implementations§
impl Freeze for VSyncPolarity
impl RefUnwindSafe for VSyncPolarity
impl Send for VSyncPolarity
impl Sync for VSyncPolarity
impl Unpin for VSyncPolarity
impl UnwindSafe for VSyncPolarity
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