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 · 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 PartialEq for ProgressBarOptions
impl PartialEq for ProgressBarOptions
Source§impl RefFromWasmAbi for ProgressBarOptions
impl RefFromWasmAbi for ProgressBarOptions
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 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 VectorIntoJsValue for ProgressBarOptions
impl VectorIntoJsValue for ProgressBarOptions
fn vector_into_jsvalue(vector: Box<[ProgressBarOptions]>) -> JsValue
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
impl StructuralPartialEq for ProgressBarOptions
impl SupportsConstructor for ProgressBarOptions
impl SupportsInstanceProperty for ProgressBarOptions
impl SupportsStaticProperty 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 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::Abi
Source§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
.