Struct playwright::api::frame::AddScriptTagBuilder[][src]

pub struct AddScriptTagBuilder<'a, 'b, 'c> { /* fields omitted */ }

Implementations

impl<'a, 'b, 'c> AddScriptTagBuilder<'a, 'b, 'c>[src]

pub async fn add_script_tag(self) -> Result<ElementHandle, Arc<Error>>[src]

pub fn type(self, x: &'c str) -> Self[src]

Script type. Use ‘module’ in order to load a Javascript ES6 module. See script for more details.

pub fn url(self, x: &'b str) -> Self[src]

URL of a script to be added.

pub fn clear_url(self) -> Self[src]

pub fn clear_type(self) -> Self[src]

Auto Trait Implementations

impl<'a, 'b, 'c> RefUnwindSafe for AddScriptTagBuilder<'a, 'b, 'c>

impl<'a, 'b, 'c> Send for AddScriptTagBuilder<'a, 'b, 'c>

impl<'a, 'b, 'c> Sync for AddScriptTagBuilder<'a, 'b, 'c>

impl<'a, 'b, 'c> Unpin for AddScriptTagBuilder<'a, 'b, 'c>

impl<'a, 'b, 'c> UnwindSafe for AddScriptTagBuilder<'a, 'b, 'c>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.