pub struct FrameContext<'a> { /* private fields */ }
Expand description
Switch the context of the current session to the given frame reference.
This structure implements Drop, and restores the session context to the current top level window.
Implementations§
Source§impl<'a> FrameContext<'a>
impl<'a> FrameContext<'a>
pub fn new( session: &'a DriverSession, frameref: JsonValue, ) -> Result<FrameContext<'a>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FrameContext<'a>
impl<'a> !RefUnwindSafe for FrameContext<'a>
impl<'a> !Send for FrameContext<'a>
impl<'a> !Sync for FrameContext<'a>
impl<'a> Unpin for FrameContext<'a>
impl<'a> !UnwindSafe for FrameContext<'a>
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