pub struct WebPackageMetadata { /* private fields */ }Expand description
Resolved Cargo package metadata needed for WebAssembly compilation and version verification.
Implementations§
Source§impl WebPackageMetadata
impl WebPackageMetadata
pub fn get_package_name(&self) -> &String
pub fn get_mut_package_name(&mut self) -> &mut String
pub fn set_package_name(&mut self, val: String) -> &mut Self
pub fn get_lib_name(&self) -> &String
pub fn get_mut_lib_name(&mut self) -> &mut String
pub fn set_lib_name(&mut self, val: String) -> &mut Self
pub fn get_version(&self) -> &String
pub fn get_mut_version(&mut self) -> &mut String
pub fn set_version(&mut self, val: String) -> &mut Self
pub fn get_target_dir(&self) -> &PathBuf
pub fn get_mut_target_dir(&mut self) -> &mut PathBuf
pub fn set_target_dir(&mut self, val: PathBuf) -> &mut Self
pub fn get_wasm_bindgen_version(&self) -> String
pub fn try_get_wasm_bindgen_version(&self) -> &Option<String>
pub fn get_mut_wasm_bindgen_version(&mut self) -> &mut Option<String>
pub fn set_wasm_bindgen_version(&mut self, val: Option<String>) -> &mut Self
pub fn get_theme_features(&self) -> &Vec<String>
pub fn get_mut_theme_features(&mut self) -> &mut Vec<String>
pub fn set_theme_features(&mut self, val: Vec<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for WebPackageMetadata
impl Clone for WebPackageMetadata
Source§impl Debug for WebPackageMetadata
impl Debug for WebPackageMetadata
impl Eq for WebPackageMetadata
Source§impl PartialEq for WebPackageMetadata
impl PartialEq for WebPackageMetadata
impl StructuralPartialEq for WebPackageMetadata
Auto Trait Implementations§
impl Forget for WebPackageMetadata
impl Freeze for WebPackageMetadata
impl Move for WebPackageMetadata
impl RefUnwindSafe for WebPackageMetadata
impl Send for WebPackageMetadatawhere
RawVecInner: Send,
impl Sync for WebPackageMetadatawhere
RawVecInner: Sync,
impl Unpin for WebPackageMetadata
impl UnsafeUnpin for WebPackageMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WebPackageMetadatawhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more