pub struct OriginState { /* private fields */ }Expand description
Tauri-managed state: the assembled application plus its host configuration.
Implementations§
Source§impl OriginState
impl OriginState
pub fn application(&self) -> Arc<Application> ⓘ
pub fn config(&self) -> &HostConfig
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OriginState
impl !UnwindSafe for OriginState
impl Freeze for OriginState
impl Send for OriginState
impl Sync for OriginState
impl Unpin for OriginState
impl UnsafeUnpin for OriginState
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