pub trait ImplButton: ImplView {
// Required methods
fn as_label_button(&self) -> Option<LabelButton>;
fn set_state(&self, state: ButtonState);
fn state(&self) -> ButtonState;
fn set_ink_drop_enabled(&self, enabled: c_int);
fn set_tooltip_text(&self, tooltip_text: Option<&CefString>);
fn set_accessible_name(&self, name: Option<&CefString>);
// Provided method
fn get_raw(&self) -> *mut _cef_button_t { ... }
}Required Methods§
See _cef_button_t::as_label_button for more documentation.
Sourcefn set_state(&self, state: ButtonState)
fn set_state(&self, state: ButtonState)
See _cef_button_t::set_state for more documentation.
Sourcefn state(&self) -> ButtonState
fn state(&self) -> ButtonState
See _cef_button_t::get_state for more documentation.
Sourcefn set_ink_drop_enabled(&self, enabled: c_int)
fn set_ink_drop_enabled(&self, enabled: c_int)
See _cef_button_t::set_ink_drop_enabled for more documentation.
Sourcefn set_tooltip_text(&self, tooltip_text: Option<&CefString>)
fn set_tooltip_text(&self, tooltip_text: Option<&CefString>)
See _cef_button_t::set_tooltip_text for more documentation.
Sourcefn set_accessible_name(&self, name: Option<&CefString>)
fn set_accessible_name(&self, name: Option<&CefString>)
See _cef_button_t::set_accessible_name for more documentation.
Provided Methods§
fn get_raw(&self) -> *mut _cef_button_t
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.