pub enum FramePacingMode {
Vsync,
Hard60,
Hard120,
NoVsync,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FramePacingMode
impl Clone for FramePacingMode
Source§fn clone(&self) -> FramePacingMode
fn clone(&self) -> FramePacingMode
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 moreSource§impl Debug for FramePacingMode
impl Debug for FramePacingMode
Source§impl Default for FramePacingMode
impl Default for FramePacingMode
Source§fn default() -> FramePacingMode
fn default() -> FramePacingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for FramePacingMode
impl PartialEq for FramePacingMode
Source§fn eq(&self, other: &FramePacingMode) -> bool
fn eq(&self, other: &FramePacingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FramePacingMode
impl Eq for FramePacingMode
impl StructuralPartialEq for FramePacingMode
Auto Trait Implementations§
impl Freeze for FramePacingMode
impl RefUnwindSafe for FramePacingMode
impl Send for FramePacingMode
impl Sync for FramePacingMode
impl Unpin for FramePacingMode
impl UnsafeUnpin for FramePacingMode
impl UnwindSafe for FramePacingMode
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