pub struct Config {
pub js: Vec<String>,
pub css: Vec<String>,
pub offscreen: bool,
}Expand description
Plugin configuration.
Fields§
§js: Vec<String>JavaScript injected into every child webview before page scripts run.
css: Vec<String>CSS injected into every child webview.
offscreen: boolCreate child webviews off-screen and paint them into the host page.
Requires runtime(cef_runtime()) from this crate and the offscreen
feature; falls back to native child webviews otherwise.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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