pub struct TrackedWindowOptions {
pub vsync: bool,
pub shader: Option<ShaderVersion>,
}Expand description
The options for a window.
Fields§
§vsync: boolShould the window be vsynced. Check github issues to see if this property actually does what it is supposed to.
shader: Option<ShaderVersion>Optionally sets the shader version for the window.
Trait Implementations§
source§impl Clone for TrackedWindowOptions
impl Clone for TrackedWindowOptions
source§fn clone(&self) -> TrackedWindowOptions
fn clone(&self) -> TrackedWindowOptions
Returns a copy 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 moreimpl Copy for TrackedWindowOptions
Auto Trait Implementations§
impl RefUnwindSafe for TrackedWindowOptions
impl Send for TrackedWindowOptions
impl Sync for TrackedWindowOptions
impl Unpin for TrackedWindowOptions
impl UnwindSafe for TrackedWindowOptions
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