pub struct Integrities { /* private fields */ }Implementationsยง
Sourceยงimpl Integrities
impl Integrities
Sourcepub fn set_main(&mut self, hash: impl Into<String>)
pub fn set_main(&mut self, hash: impl Into<String>)
Set the SHA-384 SRI hash for the main (entrypoint) script.
Sourcepub fn set_wrapper(&mut self, hash: impl Into<String>)
pub fn set_wrapper(&mut self, hash: impl Into<String>)
Set the SHA-384 SRI hash for the Emscripten wrapper script.
Sourcepub fn set_binary(&mut self, hash: impl Into<String>)
pub fn set_binary(&mut self, hash: impl Into<String>)
Set the SHA-384 SRI hash for the WASM binary.
Trait Implementationsยง
Sourceยงimpl Clone for Integrities
impl Clone for Integrities
Sourceยงfn clone(&self) -> Integrities
fn clone(&self) -> Integrities
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 Integrities
impl Debug for Integrities
Sourceยงimpl Default for Integrities
impl Default for Integrities
Sourceยงfn default() -> Integrities
fn default() -> Integrities
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for Integrities
impl RefUnwindSafe for Integrities
impl Send for Integrities
impl Sync for Integrities
impl Unpin for Integrities
impl UnsafeUnpin for Integrities
impl UnwindSafe for Integrities
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