pub struct ProgressBarOptions { /* private fields */ }Implementations§
Source§impl ProgressBarOptions
impl ProgressBarOptions
pub fn new_with_values(mode: Option<JsString>) -> ProgressBarOptions
pub fn new() -> ProgressBarOptions
Trait Implementations§
Source§impl Clone for ProgressBarOptions
impl Clone for ProgressBarOptions
Source§fn clone(&self) -> ProgressBarOptions
fn clone(&self) -> ProgressBarOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgressBarOptions
impl Debug for ProgressBarOptions
Source§impl Default for ProgressBarOptions
impl Default for ProgressBarOptions
Source§fn default() -> ProgressBarOptions
fn default() -> ProgressBarOptions
Returns the “default value” for a type. Read more
Source§impl From<ProgressBarOptions> for JsValue
impl From<ProgressBarOptions> for JsValue
Source§fn from(value: ProgressBarOptions) -> Self
fn from(value: ProgressBarOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ProgressBarOptions
impl FromWasmAbi for ProgressBarOptions
Source§impl IntoWasmAbi for ProgressBarOptions
impl IntoWasmAbi for ProgressBarOptions
Source§impl LongRefFromWasmAbi for ProgressBarOptions
impl LongRefFromWasmAbi for ProgressBarOptions
Source§type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<ProgressBarOptions>
type Anchor = RcRef<ProgressBarOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for ProgressBarOptions
impl PartialEq for ProgressBarOptions
Source§fn eq(&self, other: &ProgressBarOptions) -> bool
fn eq(&self, other: &ProgressBarOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for ProgressBarOptions
impl RefFromWasmAbi for ProgressBarOptions
Source§type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<ProgressBarOptions>
type Anchor = RcRef<ProgressBarOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for ProgressBarOptions
impl RefMutFromWasmAbi for ProgressBarOptions
Source§type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
type Abi = WasmPtr<WasmRefCell<ProgressBarOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<ProgressBarOptions>
type Anchor = RcRefMut<ProgressBarOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for ProgressBarOptions
impl SupportsConstructor for ProgressBarOptions
impl SupportsInstanceProperty for ProgressBarOptions
impl SupportsStaticProperty for ProgressBarOptions
Source§impl TryFromJsValue for ProgressBarOptions
impl TryFromJsValue for ProgressBarOptions
Source§impl VectorFromWasmAbi for ProgressBarOptions
impl VectorFromWasmAbi for ProgressBarOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ProgressBarOptions]>
Source§impl VectorIntoWasmAbi for ProgressBarOptions
impl VectorIntoWasmAbi for ProgressBarOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ProgressBarOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for ProgressBarOptions
impl WasmDescribeVector for ProgressBarOptions
Auto Trait Implementations§
impl Freeze for ProgressBarOptions
impl RefUnwindSafe for ProgressBarOptions
impl Send for ProgressBarOptions
impl Sync for ProgressBarOptions
impl Unpin for ProgressBarOptions
impl UnsafeUnpin for ProgressBarOptions
impl UnwindSafe for ProgressBarOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.