pub struct HelpButtonControl {
pub control_number: u8,
pub display: String,
pub tooltip: Option<String>,
}
Expand description
A button in the toolbar that opens the help URL when clicked. The URL it
opens is defined in Metadata::help_url
.
Fields§
§control_number: u8
The control number, a unique identifier for this control.
display: String
Label of the button that opens the help URL.
tooltip: Option<String>
Tooltip shown when hovering over the UI element.
Implementations§
Trait Implementations§
Source§impl Debug for HelpButtonControl
impl Debug for HelpButtonControl
Source§impl PrintSentence for HelpButtonControl
impl PrintSentence for HelpButtonControl
Source§fn format_sentence(&self, f: &mut Formatter<'_>) -> Result
fn format_sentence(&self, f: &mut Formatter<'_>) -> Result
The extcap interface expects certain output “sentences” to stdout to
communicate with Wireshark, like Read more
Source§fn print_sentence(&self)
fn print_sentence(&self)
Prints the extcap sentence to stdout.
Source§impl ToolbarControl for HelpButtonControl
impl ToolbarControl for HelpButtonControl
Source§fn control_number(&self) -> u8
fn control_number(&self) -> u8
The control number, a unique identifier for this control.
Auto Trait Implementations§
impl Freeze for HelpButtonControl
impl RefUnwindSafe for HelpButtonControl
impl Send for HelpButtonControl
impl Sync for HelpButtonControl
impl Unpin for HelpButtonControl
impl UnwindSafe for HelpButtonControl
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