pub struct ResolvedScope<T: ScopeObject> { /* private fields */ }
Expand description
Resolved scope that can be obtained via Webview::resolve_command_scope
.
Implementations§
Source§impl<T: ScopeObject> ResolvedScope<T>
impl<T: ScopeObject> ResolvedScope<T>
Sourcepub fn global_scope(&self) -> &GlobalScope<T>
pub fn global_scope(&self) -> &GlobalScope<T>
The global plugin scope.
Sourcepub fn command_scope(&self) -> &CommandScope<T>
pub fn command_scope(&self) -> &CommandScope<T>
The command-specific scope.
Auto Trait Implementations§
impl<T> Freeze for ResolvedScope<T>
impl<T> RefUnwindSafe for ResolvedScope<T>where
T: RefUnwindSafe,
impl<T> Send for ResolvedScope<T>
impl<T> Sync for ResolvedScope<T>
impl<T> Unpin for ResolvedScope<T>
impl<T> UnwindSafe for ResolvedScope<T>where
T: RefUnwindSafe,
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