pub struct TouchBarSliderOptions { /* private fields */ }
Implementations§
Source§impl TouchBarSliderOptions
impl TouchBarSliderOptions
pub fn new_with_values( change: Option<Function>, label: Option<JsString>, max_value: Option<f32>, min_value: Option<f32>, value: Option<f32>, ) -> TouchBarSliderOptions
pub fn new() -> TouchBarSliderOptions
pub fn change(&self) -> Option<Function>
pub fn set_change(&mut self, value: Option<Function>)
pub fn label(&self) -> Option<JsString>
pub fn set_label(&mut self, value: Option<JsString>)
pub fn max_value(&self) -> Option<f32>
pub fn set_max_value(&mut self, value: Option<f32>)
pub fn min_value(&self) -> Option<f32>
pub fn set_min_value(&mut self, value: Option<f32>)
pub fn value(&self) -> Option<f32>
pub fn set_value(&mut self, value: Option<f32>)
Trait Implementations§
Source§impl Clone for TouchBarSliderOptions
impl Clone for TouchBarSliderOptions
Source§fn clone(&self) -> TouchBarSliderOptions
fn clone(&self) -> TouchBarSliderOptions
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 TouchBarSliderOptions
impl Debug for TouchBarSliderOptions
Source§impl Default for TouchBarSliderOptions
impl Default for TouchBarSliderOptions
Source§fn default() -> TouchBarSliderOptions
fn default() -> TouchBarSliderOptions
Returns the “default value” for a type. Read more
Source§impl From<TouchBarSliderOptions> for JsValue
impl From<TouchBarSliderOptions> for JsValue
Source§fn from(value: TouchBarSliderOptions) -> Self
fn from(value: TouchBarSliderOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TouchBarSliderOptions
impl FromWasmAbi for TouchBarSliderOptions
Source§impl IntoWasmAbi for TouchBarSliderOptions
impl IntoWasmAbi for TouchBarSliderOptions
Source§impl PartialEq for TouchBarSliderOptions
impl PartialEq for TouchBarSliderOptions
Source§impl RefFromWasmAbi for TouchBarSliderOptions
impl RefFromWasmAbi for TouchBarSliderOptions
Source§type Anchor = RcRef<TouchBarSliderOptions>
type Anchor = RcRef<TouchBarSliderOptions>
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 VectorFromWasmAbi for TouchBarSliderOptions
impl VectorFromWasmAbi for TouchBarSliderOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TouchBarSliderOptions]>
Source§impl VectorIntoJsValue for TouchBarSliderOptions
impl VectorIntoJsValue for TouchBarSliderOptions
fn vector_into_jsvalue(vector: Box<[TouchBarSliderOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for TouchBarSliderOptions
impl VectorIntoWasmAbi for TouchBarSliderOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TouchBarSliderOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for TouchBarSliderOptions
impl WasmDescribeVector for TouchBarSliderOptions
impl StructuralPartialEq for TouchBarSliderOptions
impl SupportsConstructor for TouchBarSliderOptions
impl SupportsInstanceProperty for TouchBarSliderOptions
impl SupportsStaticProperty for TouchBarSliderOptions
Auto Trait Implementations§
impl Freeze for TouchBarSliderOptions
impl RefUnwindSafe for TouchBarSliderOptions
impl !Send for TouchBarSliderOptions
impl !Sync for TouchBarSliderOptions
impl Unpin for TouchBarSliderOptions
impl UnwindSafe for TouchBarSliderOptions
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
.