Enum web_sys::ScrollSetting
source · pub enum ScrollSetting {
None,
Up,
// some variants omitted
}
Variants§
Implementations§
source§impl ScrollSetting
impl ScrollSetting
pub fn from_js_value(obj: &JsValue) -> Option<ScrollSetting>
Trait Implementations§
source§impl Clone for ScrollSetting
impl Clone for ScrollSetting
source§fn clone(&self) -> ScrollSetting
fn clone(&self) -> ScrollSetting
Returns a copy 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 ScrollSetting
impl Debug for ScrollSetting
source§impl From<ScrollSetting> for JsValue
impl From<ScrollSetting> for JsValue
source§fn from(obj: ScrollSetting) -> JsValue
fn from(obj: ScrollSetting) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for ScrollSetting
impl FromWasmAbi for ScrollSetting
source§impl IntoWasmAbi for ScrollSetting
impl IntoWasmAbi for ScrollSetting
source§impl PartialEq<ScrollSetting> for ScrollSetting
impl PartialEq<ScrollSetting> for ScrollSetting
source§fn eq(&self, other: &ScrollSetting) -> bool
fn eq(&self, other: &ScrollSetting) -> bool
impl Copy 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§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more