pub struct ApplicationCacheBuilder { /* private fields */ }Available on crate features
experimental and ApplicationCache and Page only.Implementations§
Source§impl ApplicationCacheBuilder
impl ApplicationCacheBuilder
Sourcepub fn manifest_url(&mut self, v: String) -> &mut Self
pub fn manifest_url(&mut self, v: String) -> &mut Self
Manifest URL.
Sourcepub fn creation_time(&mut self, v: f64) -> &mut Self
pub fn creation_time(&mut self, v: f64) -> &mut Self
Application cache creation time.
Sourcepub fn update_time(&mut self, v: f64) -> &mut Self
pub fn update_time(&mut self, v: f64) -> &mut Self
Application cache update time.
Sourcepub fn resources(&mut self, v: Vec<ApplicationCacheResource>) -> &mut Self
pub fn resources(&mut self, v: Vec<ApplicationCacheResource>) -> &mut Self
Application cache resources.
pub fn build(&mut self) -> Result<ApplicationCache, &'static str>
Trait Implementations§
Source§impl Clone for ApplicationCacheBuilder
impl Clone for ApplicationCacheBuilder
Source§fn clone(&self) -> ApplicationCacheBuilder
fn clone(&self) -> ApplicationCacheBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplicationCacheBuilder
impl Debug for ApplicationCacheBuilder
Auto Trait Implementations§
impl Freeze for ApplicationCacheBuilder
impl RefUnwindSafe for ApplicationCacheBuilder
impl Send for ApplicationCacheBuilder
impl Sync for ApplicationCacheBuilder
impl Unpin for ApplicationCacheBuilder
impl UnwindSafe for ApplicationCacheBuilder
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