Enum keeshond::gameloop::FrameInterpolationMode [−][src]
pub enum FrameInterpolationMode {
Off,
Automatic,
Force,
}
Expand description
Whether to use frame interpolation, which results in cleaner motion on high refresh rate displays for games that support it
Variants
Never do frame interpolation (recommended for games that don’t support frame interpolation)
Do frame interpolation if the display refresh rate doesn’t match the game’s target framerate (recommended for games that support frame interpolation)
Always do frame interpolation (not recommended)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrameInterpolationMode
impl Send for FrameInterpolationMode
impl Sync for FrameInterpolationMode
impl Unpin for FrameInterpolationMode
impl UnwindSafe for FrameInterpolationMode
Blanket Implementations
Mutably borrows from an owned value. Read more
type Owned = T
type Owned = T
A type that holds a sized version of the content.
Prepares an output buffer, then turns this buffer into an Owned
.
User-provided closure F
must only write to and not read from &mut Self
. Read more
Returns the size of each element.
Produces a pointer to the data.
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more