pub trait ImplOverlayController:
Clone
+ Sized
+ Rc {
Show 20 methods
// Required methods
fn is_valid(&self) -> c_int;
fn is_same(&self, that: Option<&mut OverlayController>) -> c_int;
fn contents_view(&self) -> Option<View>;
fn window(&self) -> Option<Window>;
fn docking_mode(&self) -> DockingMode;
fn destroy(&self);
fn set_bounds(&self, bounds: Option<&Rect>);
fn bounds(&self) -> Rect;
fn bounds_in_screen(&self) -> Rect;
fn set_size(&self, size: Option<&Size>);
fn size(&self) -> Size;
fn set_position(&self, position: Option<&Point>);
fn position(&self) -> Point;
fn set_insets(&self, insets: Option<&Insets>);
fn insets(&self) -> Insets;
fn size_to_preferred_size(&self);
fn set_visible(&self, visible: c_int);
fn is_visible(&self) -> c_int;
fn is_drawn(&self) -> c_int;
fn get_raw(&self) -> *mut _cef_overlay_controller_t;
}Required Methods§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_overlay_controller_t::is_valid for more documentation.
Sourcefn is_same(&self, that: Option<&mut OverlayController>) -> c_int
fn is_same(&self, that: Option<&mut OverlayController>) -> c_int
See _cef_overlay_controller_t::is_same for more documentation.
Sourcefn contents_view(&self) -> Option<View>
fn contents_view(&self) -> Option<View>
See _cef_overlay_controller_t::get_contents_view for more documentation.
Sourcefn window(&self) -> Option<Window>
fn window(&self) -> Option<Window>
See _cef_overlay_controller_t::get_window for more documentation.
Sourcefn docking_mode(&self) -> DockingMode
fn docking_mode(&self) -> DockingMode
See _cef_overlay_controller_t::get_docking_mode for more documentation.
Sourcefn destroy(&self)
fn destroy(&self)
See _cef_overlay_controller_t::destroy for more documentation.
Sourcefn set_bounds(&self, bounds: Option<&Rect>)
fn set_bounds(&self, bounds: Option<&Rect>)
See _cef_overlay_controller_t::set_bounds for more documentation.
Sourcefn bounds(&self) -> Rect
fn bounds(&self) -> Rect
See _cef_overlay_controller_t::get_bounds for more documentation.
Sourcefn bounds_in_screen(&self) -> Rect
fn bounds_in_screen(&self) -> Rect
See _cef_overlay_controller_t::get_bounds_in_screen for more documentation.
Sourcefn set_size(&self, size: Option<&Size>)
fn set_size(&self, size: Option<&Size>)
See _cef_overlay_controller_t::set_size for more documentation.
Sourcefn size(&self) -> Size
fn size(&self) -> Size
See _cef_overlay_controller_t::get_size for more documentation.
Sourcefn set_position(&self, position: Option<&Point>)
fn set_position(&self, position: Option<&Point>)
See _cef_overlay_controller_t::set_position for more documentation.
Sourcefn position(&self) -> Point
fn position(&self) -> Point
See _cef_overlay_controller_t::get_position for more documentation.
Sourcefn set_insets(&self, insets: Option<&Insets>)
fn set_insets(&self, insets: Option<&Insets>)
See _cef_overlay_controller_t::set_insets for more documentation.
Sourcefn insets(&self) -> Insets
fn insets(&self) -> Insets
See _cef_overlay_controller_t::get_insets for more documentation.
Sourcefn size_to_preferred_size(&self)
fn size_to_preferred_size(&self)
See _cef_overlay_controller_t::size_to_preferred_size for more documentation.
Sourcefn set_visible(&self, visible: c_int)
fn set_visible(&self, visible: c_int)
See _cef_overlay_controller_t::set_visible for more documentation.
Sourcefn is_visible(&self) -> c_int
fn is_visible(&self) -> c_int
See _cef_overlay_controller_t::is_visible for more documentation.
Sourcefn is_drawn(&self) -> c_int
fn is_drawn(&self) -> c_int
See _cef_overlay_controller_t::is_drawn for more documentation.
fn get_raw(&self) -> *mut _cef_overlay_controller_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.