pub struct CefConfig {
pub embed: bool,
}Expand description
Configuration for apps using the Chromium Embedded Framework (the cef
feature of the tauri crate).
Fields§
§embed: boolWhether the CEF binary distribution is embedded in the bundle.
Defaults to true.
Set it to false for an app that loads CEF at run time from outside
its own bundle — a shared, machine-wide runtime, through the
TAURI_CEF_LIBRARY_PATH environment variable. The framework,
libcef and their resources are then left out of every bundle, and
the app must find a runtime at launch or it will not start. On macOS
the helper apps are still produced: they belong to the app, not to
the distribution.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CefConfig
impl<'de> Deserialize<'de> for CefConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CefConfig
impl StructuralPartialEq for CefConfig
Auto Trait Implementations§
impl Freeze for CefConfig
impl RefUnwindSafe for CefConfig
impl Send for CefConfig
impl Sync for CefConfig
impl Unpin for CefConfig
impl UnsafeUnpin for CefConfig
impl UnwindSafe for CefConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.