pub struct LabelButton(/* private fields */);Expand description
See _cef_label_button_t for more documentation.
Trait Implementations§
Source§impl Clone for LabelButton
impl Clone for LabelButton
Source§fn clone(&self) -> LabelButton
fn clone(&self) -> LabelButton
Returns a duplicate 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 morefn into_raw(self) -> *mut _cef_label_button_t
fn into_raw(self) -> *mut _cef_label_button_t
fn wrap_result(self) -> LabelButton
Source§impl From<&LabelButton> for Button
impl From<&LabelButton> for Button
Source§fn from(from: &LabelButton) -> Self
fn from(from: &LabelButton) -> Self
Converts to this type from the input type.
Source§impl From<&LabelButton> for View
impl From<&LabelButton> for View
Source§fn from(from: &LabelButton) -> Self
fn from(from: &LabelButton) -> Self
Converts to this type from the input type.
Source§impl From<&MenuButton> for LabelButton
impl From<&MenuButton> for LabelButton
Source§fn from(from: &MenuButton) -> Self
fn from(from: &MenuButton) -> Self
Converts to this type from the input type.
Source§fn from(value: LabelButton) -> Self
fn from(value: LabelButton) -> Self
Converts to this type from the input type.
Source§impl ImplButton for LabelButton
impl ImplButton for LabelButton
See
_cef_button_t::as_label_button for more documentation.Source§fn set_state(&self, state: ButtonState)
fn set_state(&self, state: ButtonState)
See
_cef_button_t::set_state for more documentation.Source§fn state(&self) -> ButtonState
fn state(&self) -> ButtonState
See
_cef_button_t::get_state for more documentation.Source§fn 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.Source§fn 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.Source§fn 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.fn get_raw(&self) -> *mut _cef_button_t
Source§impl ImplLabelButton for LabelButton
impl ImplLabelButton for LabelButton
See
_cef_label_button_t::as_menu_button for more documentation.Source§fn set_text(&self, text: Option<&CefString>)
fn set_text(&self, text: Option<&CefString>)
See
_cef_label_button_t::set_text for more documentation.Source§fn text(&self) -> CefStringUserfree
fn text(&self) -> CefStringUserfree
See
_cef_label_button_t::get_text for more documentation.Source§fn set_image(&self, button_state: ButtonState, image: Option<&mut Image>)
fn set_image(&self, button_state: ButtonState, image: Option<&mut Image>)
See
_cef_label_button_t::set_image for more documentation.Source§fn image(&self, button_state: ButtonState) -> Option<Image>
fn image(&self, button_state: ButtonState) -> Option<Image>
See
_cef_label_button_t::get_image for more documentation.Source§fn set_text_color(&self, for_state: ButtonState, color: u32)
fn set_text_color(&self, for_state: ButtonState, color: u32)
See
_cef_label_button_t::set_text_color for more documentation.Source§fn set_enabled_text_colors(&self, color: u32)
fn set_enabled_text_colors(&self, color: u32)
See
_cef_label_button_t::set_enabled_text_colors for more documentation.Source§fn set_font_list(&self, font_list: Option<&CefString>)
fn set_font_list(&self, font_list: Option<&CefString>)
See
_cef_label_button_t::set_font_list for more documentation.Source§fn set_horizontal_alignment(&self, alignment: HorizontalAlignment)
fn set_horizontal_alignment(&self, alignment: HorizontalAlignment)
See
_cef_label_button_t::set_horizontal_alignment for more documentation.Source§fn set_minimum_size(&self, size: Option<&Size>)
fn set_minimum_size(&self, size: Option<&Size>)
See
_cef_label_button_t::set_minimum_size for more documentation.Source§fn set_maximum_size(&self, size: Option<&Size>)
fn set_maximum_size(&self, size: Option<&Size>)
See
_cef_label_button_t::set_maximum_size for more documentation.fn get_raw(&self) -> *mut _cef_label_button_t
Source§impl ImplView for LabelButton
impl ImplView for LabelButton
Source§fn as_browser_view(&self) -> Option<BrowserView>
fn as_browser_view(&self) -> Option<BrowserView>
See
_cef_view_t::as_browser_view for more documentation.See
_cef_view_t::as_button for more documentation.Source§fn as_scroll_view(&self) -> Option<ScrollView>
fn as_scroll_view(&self) -> Option<ScrollView>
See
_cef_view_t::as_scroll_view for more documentation.Source§fn as_textfield(&self) -> Option<Textfield>
fn as_textfield(&self) -> Option<Textfield>
See
_cef_view_t::as_textfield for more documentation.Source§fn type_string(&self) -> CefStringUserfree
fn type_string(&self) -> CefStringUserfree
See
_cef_view_t::get_type_string for more documentation.Source§fn to_string(&self, include_children: c_int) -> CefStringUserfree
fn to_string(&self, include_children: c_int) -> CefStringUserfree
See
_cef_view_t::to_string for more documentation.Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_view_t::is_valid for more documentation.Source§fn is_attached(&self) -> c_int
fn is_attached(&self) -> c_int
See
_cef_view_t::is_attached for more documentation.Source§fn is_same(&self, that: Option<&mut View>) -> c_int
fn is_same(&self, that: Option<&mut View>) -> c_int
See
_cef_view_t::is_same for more documentation.Source§fn delegate(&self) -> Option<ViewDelegate>
fn delegate(&self) -> Option<ViewDelegate>
See
_cef_view_t::get_delegate for more documentation.Source§fn id(&self) -> c_int
fn id(&self) -> c_int
See
_cef_view_t::get_id for more documentation.Source§fn set_id(&self, id: c_int)
fn set_id(&self, id: c_int)
See
_cef_view_t::set_id for more documentation.Source§fn group_id(&self) -> c_int
fn group_id(&self) -> c_int
See
_cef_view_t::get_group_id for more documentation.Source§fn set_group_id(&self, group_id: c_int)
fn set_group_id(&self, group_id: c_int)
See
_cef_view_t::set_group_id for more documentation.Source§fn parent_view(&self) -> Option<View>
fn parent_view(&self) -> Option<View>
See
_cef_view_t::get_parent_view for more documentation.Source§fn view_for_id(&self, id: c_int) -> Option<View>
fn view_for_id(&self, id: c_int) -> Option<View>
See
_cef_view_t::get_view_for_id for more documentation.Source§fn set_bounds(&self, bounds: Option<&Rect>)
fn set_bounds(&self, bounds: Option<&Rect>)
See
_cef_view_t::set_bounds for more documentation.Source§fn bounds(&self) -> Rect
fn bounds(&self) -> Rect
See
_cef_view_t::get_bounds for more documentation.Source§fn bounds_in_screen(&self) -> Rect
fn bounds_in_screen(&self) -> Rect
See
_cef_view_t::get_bounds_in_screen for more documentation.Source§fn size(&self) -> Size
fn size(&self) -> Size
See
_cef_view_t::get_size for more documentation.Source§fn set_position(&self, position: Option<&Point>)
fn set_position(&self, position: Option<&Point>)
See
_cef_view_t::set_position for more documentation.Source§fn position(&self) -> Point
fn position(&self) -> Point
See
_cef_view_t::get_position for more documentation.Source§fn set_insets(&self, insets: Option<&Insets>)
fn set_insets(&self, insets: Option<&Insets>)
See
_cef_view_t::set_insets for more documentation.Source§fn insets(&self) -> Insets
fn insets(&self) -> Insets
See
_cef_view_t::get_insets for more documentation.Source§fn preferred_size(&self) -> Size
fn preferred_size(&self) -> Size
See
_cef_view_t::get_preferred_size for more documentation.Source§fn size_to_preferred_size(&self)
fn size_to_preferred_size(&self)
See
_cef_view_t::size_to_preferred_size for more documentation.Source§fn minimum_size(&self) -> Size
fn minimum_size(&self) -> Size
See
_cef_view_t::get_minimum_size for more documentation.Source§fn maximum_size(&self) -> Size
fn maximum_size(&self) -> Size
See
_cef_view_t::get_maximum_size for more documentation.Source§fn height_for_width(&self, width: c_int) -> c_int
fn height_for_width(&self, width: c_int) -> c_int
See
_cef_view_t::get_height_for_width for more documentation.Source§fn invalidate_layout(&self)
fn invalidate_layout(&self)
See
_cef_view_t::invalidate_layout for more documentation.Source§fn set_visible(&self, visible: c_int)
fn set_visible(&self, visible: c_int)
See
_cef_view_t::set_visible for more documentation.Source§fn is_visible(&self) -> c_int
fn is_visible(&self) -> c_int
See
_cef_view_t::is_visible for more documentation.Source§fn is_drawn(&self) -> c_int
fn is_drawn(&self) -> c_int
See
_cef_view_t::is_drawn for more documentation.Source§fn set_enabled(&self, enabled: c_int)
fn set_enabled(&self, enabled: c_int)
See
_cef_view_t::set_enabled for more documentation.Source§fn is_enabled(&self) -> c_int
fn is_enabled(&self) -> c_int
See
_cef_view_t::is_enabled for more documentation.Source§fn set_focusable(&self, focusable: c_int)
fn set_focusable(&self, focusable: c_int)
See
_cef_view_t::set_focusable for more documentation.Source§fn is_focusable(&self) -> c_int
fn is_focusable(&self) -> c_int
See
_cef_view_t::is_focusable for more documentation.Source§fn is_accessibility_focusable(&self) -> c_int
fn is_accessibility_focusable(&self) -> c_int
See
_cef_view_t::is_accessibility_focusable for more documentation.Source§fn has_focus(&self) -> c_int
fn has_focus(&self) -> c_int
See
_cef_view_t::has_focus for more documentation.Source§fn request_focus(&self)
fn request_focus(&self)
See
_cef_view_t::request_focus for more documentation.Source§fn set_background_color(&self, color: u32)
fn set_background_color(&self, color: u32)
See
_cef_view_t::set_background_color for more documentation.Source§fn background_color(&self) -> cef_color_t
fn background_color(&self) -> cef_color_t
See
_cef_view_t::get_background_color for more documentation.Source§fn theme_color(&self, color_id: c_int) -> cef_color_t
fn theme_color(&self, color_id: c_int) -> cef_color_t
See
_cef_view_t::get_theme_color for more documentation.Source§fn convert_point_to_screen(&self, point: Option<&mut Point>) -> c_int
fn convert_point_to_screen(&self, point: Option<&mut Point>) -> c_int
See
_cef_view_t::convert_point_to_screen for more documentation.Source§fn convert_point_from_screen(&self, point: Option<&mut Point>) -> c_int
fn convert_point_from_screen(&self, point: Option<&mut Point>) -> c_int
See
_cef_view_t::convert_point_from_screen for more documentation.Source§fn convert_point_to_window(&self, point: Option<&mut Point>) -> c_int
fn convert_point_to_window(&self, point: Option<&mut Point>) -> c_int
See
_cef_view_t::convert_point_to_window for more documentation.Source§fn convert_point_from_window(&self, point: Option<&mut Point>) -> c_int
fn convert_point_from_window(&self, point: Option<&mut Point>) -> c_int
See
_cef_view_t::convert_point_from_window for more documentation.Source§fn convert_point_to_view(
&self,
view: Option<&mut View>,
point: Option<&mut Point>,
) -> c_int
fn convert_point_to_view( &self, view: Option<&mut View>, point: Option<&mut Point>, ) -> c_int
See
_cef_view_t::convert_point_to_view for more documentation.Source§fn convert_point_from_view(
&self,
view: Option<&mut View>,
point: Option<&mut Point>,
) -> c_int
fn convert_point_from_view( &self, view: Option<&mut View>, point: Option<&mut Point>, ) -> c_int
See
_cef_view_t::convert_point_from_view for more documentation.fn get_raw(&self) -> *mut _cef_view_t
Source§impl Rc for LabelButton
impl Rc for LabelButton
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for LabelButton
impl RefUnwindSafe for LabelButton
impl Send for LabelButton
impl Sync for LabelButton
impl Unpin for LabelButton
impl UnwindSafe for LabelButton
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