pub enum VSyncMethod {
VsyncAuto,
VsyncCfr,
VsyncVfr,
VsyncPassthrough,
VsyncVscfr,
}Variants§
Trait Implementations§
Source§impl Clone for VSyncMethod
impl Clone for VSyncMethod
Source§fn clone(&self) -> VSyncMethod
fn clone(&self) -> VSyncMethod
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 VSyncMethod
Source§impl PartialEq for VSyncMethod
impl PartialEq for VSyncMethod
Source§fn eq(&self, other: &VSyncMethod) -> bool
fn eq(&self, other: &VSyncMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VSyncMethod
Auto Trait Implementations§
impl Freeze for VSyncMethod
impl RefUnwindSafe for VSyncMethod
impl Send for VSyncMethod
impl Sync for VSyncMethod
impl Unpin for VSyncMethod
impl UnsafeUnpin for VSyncMethod
impl UnwindSafe for VSyncMethod
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