Struct puffin_imgui::Options
source · pub struct Options {
pub canvas_width_ns: f32,
pub sideways_pan_in_pixels: f32,
pub cull_width: f32,
pub min_width: f32,
pub rect_height: f32,
pub spacing: f32,
pub rounding: f32,
pub merge_scopes: bool,
pub sorting: Sorting,
pub frame_width: f32,
/* private fields */
}
Fields§
§canvas_width_ns: f32
Controls zoom
sideways_pan_in_pixels: f32
How much we have panned sideways:
cull_width: f32
Events shorter than this many pixels aren’t painted
min_width: f32
Draw each item with at least this width (only makes sense if Self::cull_width
is 0)
rect_height: f32
§spacing: f32
§rounding: f32
§merge_scopes: bool
Aggregate child scopes with the same id?
sorting: Sorting
§frame_width: f32
Size of a frame in the frame-view, including padding
Trait Implementations§
source§impl<'de> Deserialize<'de> for Optionswhere
Options: Default,
impl<'de> Deserialize<'de> for Optionswhere Options: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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