pub trait ImplFrame:
Clone
+ Sized
+ Rc {
Show 27 methods
// Required methods
fn is_valid(&self) -> c_int;
fn undo(&self);
fn redo(&self);
fn cut(&self);
fn copy(&self);
fn paste(&self);
fn paste_and_match_style(&self);
fn del(&self);
fn select_all(&self);
fn view_source(&self);
fn source(&self, visitor: Option<&mut CefStringVisitor>);
fn text(&self, visitor: Option<&mut CefStringVisitor>);
fn load_request(&self, request: Option<&mut Request>);
fn load_url(&self, url: Option<&CefString>);
fn execute_java_script(
&self,
code: Option<&CefString>,
script_url: Option<&CefString>,
start_line: c_int,
);
fn is_main(&self) -> c_int;
fn is_focused(&self) -> c_int;
fn name(&self) -> CefStringUserfree;
fn identifier(&self) -> CefStringUserfree;
fn parent(&self) -> Option<Frame>;
fn url(&self) -> CefStringUserfree;
fn browser(&self) -> Option<Browser>;
fn v8_context(&self) -> Option<V8Context>;
fn visit_dom(&self, visitor: Option<&mut Domvisitor>);
fn create_urlrequest(
&self,
request: Option<&mut Request>,
client: Option<&mut UrlrequestClient>,
) -> Option<Urlrequest>;
fn send_process_message(
&self,
target_process: ProcessId,
message: Option<&mut ProcessMessage>,
);
fn get_raw(&self) -> *mut _cef_frame_t;
}Required Methods§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_frame_t::is_valid for more documentation.
Sourcefn undo(&self)
fn undo(&self)
See _cef_frame_t::undo for more documentation.
Sourcefn redo(&self)
fn redo(&self)
See _cef_frame_t::redo for more documentation.
Sourcefn cut(&self)
fn cut(&self)
See _cef_frame_t::cut for more documentation.
Sourcefn copy(&self)
fn copy(&self)
See _cef_frame_t::copy for more documentation.
Sourcefn paste(&self)
fn paste(&self)
See _cef_frame_t::paste for more documentation.
Sourcefn paste_and_match_style(&self)
fn paste_and_match_style(&self)
See _cef_frame_t::paste_and_match_style for more documentation.
Sourcefn del(&self)
fn del(&self)
See _cef_frame_t::del for more documentation.
Sourcefn select_all(&self)
fn select_all(&self)
See _cef_frame_t::select_all for more documentation.
Sourcefn view_source(&self)
fn view_source(&self)
See _cef_frame_t::view_source for more documentation.
Sourcefn source(&self, visitor: Option<&mut CefStringVisitor>)
fn source(&self, visitor: Option<&mut CefStringVisitor>)
See _cef_frame_t::get_source for more documentation.
Sourcefn text(&self, visitor: Option<&mut CefStringVisitor>)
fn text(&self, visitor: Option<&mut CefStringVisitor>)
See _cef_frame_t::get_text for more documentation.
Sourcefn load_request(&self, request: Option<&mut Request>)
fn load_request(&self, request: Option<&mut Request>)
See _cef_frame_t::load_request for more documentation.
Sourcefn load_url(&self, url: Option<&CefString>)
fn load_url(&self, url: Option<&CefString>)
See _cef_frame_t::load_url for more documentation.
Sourcefn execute_java_script(
&self,
code: Option<&CefString>,
script_url: Option<&CefString>,
start_line: c_int,
)
fn execute_java_script( &self, code: Option<&CefString>, script_url: Option<&CefString>, start_line: c_int, )
See _cef_frame_t::execute_java_script for more documentation.
Sourcefn is_main(&self) -> c_int
fn is_main(&self) -> c_int
See _cef_frame_t::is_main for more documentation.
Sourcefn is_focused(&self) -> c_int
fn is_focused(&self) -> c_int
See _cef_frame_t::is_focused for more documentation.
Sourcefn name(&self) -> CefStringUserfree
fn name(&self) -> CefStringUserfree
See _cef_frame_t::get_name for more documentation.
Sourcefn identifier(&self) -> CefStringUserfree
fn identifier(&self) -> CefStringUserfree
See _cef_frame_t::get_identifier for more documentation.
Sourcefn parent(&self) -> Option<Frame>
fn parent(&self) -> Option<Frame>
See _cef_frame_t::get_parent for more documentation.
Sourcefn url(&self) -> CefStringUserfree
fn url(&self) -> CefStringUserfree
See _cef_frame_t::get_url for more documentation.
Sourcefn browser(&self) -> Option<Browser>
fn browser(&self) -> Option<Browser>
See _cef_frame_t::get_browser for more documentation.
Sourcefn v8_context(&self) -> Option<V8Context>
fn v8_context(&self) -> Option<V8Context>
See _cef_frame_t::get_v8_context for more documentation.
Sourcefn visit_dom(&self, visitor: Option<&mut Domvisitor>)
fn visit_dom(&self, visitor: Option<&mut Domvisitor>)
See _cef_frame_t::visit_dom for more documentation.
Sourcefn create_urlrequest(
&self,
request: Option<&mut Request>,
client: Option<&mut UrlrequestClient>,
) -> Option<Urlrequest>
fn create_urlrequest( &self, request: Option<&mut Request>, client: Option<&mut UrlrequestClient>, ) -> Option<Urlrequest>
See _cef_frame_t::create_urlrequest for more documentation.
Sourcefn send_process_message(
&self,
target_process: ProcessId,
message: Option<&mut ProcessMessage>,
)
fn send_process_message( &self, target_process: ProcessId, message: Option<&mut ProcessMessage>, )
See _cef_frame_t::send_process_message for more documentation.
fn get_raw(&self) -> *mut _cef_frame_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.