Struct thyme::BuildOptions
source · pub struct BuildOptions {
pub enable_live_reload: bool,
pub tooltip_time: u32,
pub line_scroll: f32,
}
Expand description
Global options that may be specified when building the Thyme context with
ContextBuilder
. These options
cannot be changed afterwards.
Fields§
§enable_live_reload: bool
Whether to enable background file monitoring for live reload. Note that
to actually make use of this feature, you will need to call
check_live_reload
, typically
once between each frame. The default value is true
.
tooltip_time: u32
The amount of time in milliseconds that a widget must be hovered for a tooltip to show up.
line_scroll: f32
The number of lines that scrollbars will scroll per mouse scroll.
Trait Implementations§
source§impl Clone for BuildOptions
impl Clone for BuildOptions
source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
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 moreAuto Trait Implementations§
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnwindSafe for BuildOptions
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