pub struct BridgeConfig {
pub global_key: &'static str,
pub core_key: &'static str,
pub invoke_key: &'static str,
}Expand description
Configuration for bridge initialization.
Allows customization of bridge behavior.
Fields§
§global_key: &'static strThe global bridge object key on window.
core_key: &'static strThe core module key.
invoke_key: &'static strThe invoke function key.
Trait Implementations§
Source§impl Clone for BridgeConfig
impl Clone for BridgeConfig
Source§fn clone(&self) -> BridgeConfig
fn clone(&self) -> BridgeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeConfig
impl Debug for BridgeConfig
Source§impl Default for BridgeConfig
impl Default for BridgeConfig
Source§fn default() -> BridgeConfig
fn default() -> BridgeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BridgeConfig
impl RefUnwindSafe for BridgeConfig
impl Send for BridgeConfig
impl Sync for BridgeConfig
impl Unpin for BridgeConfig
impl UnsafeUnpin for BridgeConfig
impl UnwindSafe for BridgeConfig
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