pub struct AddScriptTagBuilder<'a, 'b, 'c> {
inner: Weak<Frame>,
args: AddScriptTagArgs<'a, 'b, 'c>,
}Fields§
§inner: Weak<Frame>§args: AddScriptTagArgs<'a, 'b, 'c>Implementations§
Source§impl<'a, 'b, 'c> AddScriptTagBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> AddScriptTagBuilder<'a, 'b, 'c>
pub(crate) fn new(inner: Weak<Impl>, content: &'a str) -> Self
pub async fn add_script_tag(self) -> Result<ElementHandle, Arc<Error>>
Sourcepub fn type(self, x: &'c str) -> Self
pub fn type(self, x: &'c str) -> Self
Script type. Use ‘module’ in order to load a Javascript ES6 module. See script for more details.
pub fn clear_url(self) -> Self
pub fn clear_type(self) -> Self
Auto Trait Implementations§
impl<'a, 'b, 'c> Freeze for AddScriptTagBuilder<'a, 'b, 'c>
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§
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