pub struct SurferLayout {Show 26 fields
show_hierarchy: bool,
show_menu: bool,
show_toolbar: bool,
show_ticks: bool,
show_tooltip: bool,
show_scope_tooltip: bool,
show_overview: bool,
show_statusbar: bool,
show_variable_indices: bool,
show_variable_direction: bool,
show_default_timeline: bool,
show_empty_scopes: bool,
show_parameters_in_scopes: bool,
pub window_height: usize,
pub window_width: usize,
align_names_right: bool,
hierarchy_style: HierarchyStyle,
pub waveforms_text_size: f32,
pub waveforms_line_height: f32,
pub waveforms_line_height_multiples: Vec<f32>,
pub transactions_line_height: f32,
pub zoom_factors: Vec<f32>,
pub default_zoom_factor: f32,
highlight_focused: bool,
move_focus_on_inserted_marker: bool,
fill_high_values: bool,
}
Fields§
§show_hierarchy: bool
Flag to show/hide the hierarchy view
Flag to show/hide the menu
show_toolbar: bool
Flag to show/hide toolbar
show_ticks: bool
Flag to show/hide tick lines
show_tooltip: bool
Flag to show/hide tooltip for variables
show_scope_tooltip: bool
Flag to show/hide tooltip for scopes
show_overview: bool
Flag to show/hide the overview
show_statusbar: bool
Flag to show/hide the statusbar
show_variable_indices: bool
Flag to show/hide the indices of variables in the variable list
show_variable_direction: bool
Flag to show/hide the variable direction icon
show_default_timeline: bool
Flag to show/hide a default timeline
show_empty_scopes: bool
Flag to show/hide empty scopes
show_parameters_in_scopes: bool
Flag to show parameters in scope view
window_height: usize
Initial window height
window_width: usize
Initial window width
align_names_right: bool
Align variable names right
hierarchy_style: HierarchyStyle
Set style of hierarchy
waveforms_text_size: f32
Text size in points for values in waves
waveforms_line_height: f32
Line height in points for waves
waveforms_line_height_multiples: Vec<f32>
Line height multiples for higher variables
transactions_line_height: f32
Line height in points for transaction streams
zoom_factors: Vec<f32>
UI zoom factors
default_zoom_factor: f32
Default UI zoom factor
highlight_focused: bool
Highlight the waveform of the focused item?
move_focus_on_inserted_marker: bool
Move the focus to the newly inserted marker?
fill_high_values: bool
Fill high values in boolean waveforms
Implementations§
Source§impl SurferLayout
impl SurferLayout
pub fn show_hierarchy(&self) -> bool
pub fn show_ticks(&self) -> bool
pub fn show_tooltip(&self) -> bool
pub fn show_scope_tooltip(&self) -> bool
pub fn show_default_timeline(&self) -> bool
pub fn show_toolbar(&self) -> bool
pub fn show_overview(&self) -> bool
pub fn show_statusbar(&self) -> bool
pub fn align_names_right(&self) -> bool
pub fn show_variable_indices(&self) -> bool
pub fn show_variable_direction(&self) -> bool
pub fn default_zoom_factor(&self) -> f32
pub fn show_empty_scopes(&self) -> bool
pub fn show_parameters_in_scopes(&self) -> bool
pub fn highlight_focused(&self) -> bool
pub fn move_focus_on_inserted_marker(&self) -> bool
pub fn fill_high_values(&self) -> bool
pub fn hierarchy_style(&self) -> HierarchyStyle
Trait Implementations§
Source§impl Debug for SurferLayout
impl Debug for SurferLayout
Source§impl<'de> Deserialize<'de> for SurferLayout
impl<'de> Deserialize<'de> for SurferLayout
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>,
Auto Trait Implementations§
impl Freeze for SurferLayout
impl RefUnwindSafe for SurferLayout
impl Send for SurferLayout
impl Sync for SurferLayout
impl Unpin for SurferLayout
impl UnwindSafe for SurferLayout
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self
file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
self
file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more