Struct chromiumoxide::handler::frame::Frame
source · pub struct Frame { /* private fields */ }
Expand description
Represents a frame on the page
Implementations§
source§impl Frame
impl Frame
pub fn new(id: FrameId) -> Self
pub fn with_parent(id: FrameId, parent: &mut Frame) -> Self
pub fn parent_id(&self) -> Option<&FrameId>
pub fn id(&self) -> &FrameId
pub fn url(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
pub fn main_world(&self) -> &DOMWorld
pub fn secondary_world(&self) -> &DOMWorld
pub fn lifecycle_events(&self) -> &HashSet<MethodId>
pub fn http_request(&self) -> Option<&Arc<HttpRequest>>
pub fn is_loaded(&self) -> bool
pub fn clear_contexts(&mut self)
pub fn destroy_context(&mut self, ctx: ExecutionContextId)
pub fn execution_context(&self) -> Option<ExecutionContextId>
pub fn set_request(&mut self, request: HttpRequest)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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