Enum web_sys::ScrollSetting
source · [−]pub enum ScrollSetting {
None,
Up,
// some variants omitted
}
Expand description
The ScrollSetting
enum.
This API requires the following crate features to be activated: ScrollSetting
Variants
None
Up
Implementations
sourceimpl ScrollSetting
impl ScrollSetting
pub fn from_js_value(obj: &JsValue) -> Option<ScrollSetting>
Trait Implementations
sourceimpl Clone for ScrollSetting
impl Clone for ScrollSetting
sourcefn clone(&self) -> ScrollSetting
fn clone(&self) -> ScrollSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScrollSetting
impl Debug for ScrollSetting
sourceimpl From<ScrollSetting> for JsValue
impl From<ScrollSetting> for JsValue
sourcefn from(obj: ScrollSetting) -> JsValue
fn from(obj: ScrollSetting) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for ScrollSetting
impl FromWasmAbi for ScrollSetting
sourceimpl IntoWasmAbi for ScrollSetting
impl IntoWasmAbi for ScrollSetting
sourceimpl OptionFromWasmAbi for ScrollSetting
impl OptionFromWasmAbi for ScrollSetting
sourceimpl OptionIntoWasmAbi for ScrollSetting
impl OptionIntoWasmAbi for ScrollSetting
sourceimpl PartialEq<ScrollSetting> for ScrollSetting
impl PartialEq<ScrollSetting> for ScrollSetting
sourceimpl WasmDescribe for ScrollSetting
impl WasmDescribe for ScrollSetting
impl Copy for ScrollSetting
impl Eq for ScrollSetting
impl StructuralEq for ScrollSetting
impl StructuralPartialEq for ScrollSetting
Auto Trait Implementations
impl RefUnwindSafe for ScrollSetting
impl Send for ScrollSetting
impl Sync for ScrollSetting
impl Unpin for ScrollSetting
impl UnwindSafe for ScrollSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more