Enum web_sys::DirectionSetting
source · pub enum DirectionSetting {
None,
Rl,
Lr,
// some variants omitted
}
Variants§
Implementations§
source§impl DirectionSetting
impl DirectionSetting
pub fn from_js_value(obj: &JsValue) -> Option<DirectionSetting>
Trait Implementations§
source§impl Clone for DirectionSetting
impl Clone for DirectionSetting
source§fn clone(&self) -> DirectionSetting
fn clone(&self) -> DirectionSetting
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 DirectionSetting
impl Debug for DirectionSetting
source§impl From<DirectionSetting> for JsValue
impl From<DirectionSetting> for JsValue
source§fn from(obj: DirectionSetting) -> JsValue
fn from(obj: DirectionSetting) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for DirectionSetting
impl FromWasmAbi for DirectionSetting
source§impl IntoWasmAbi for DirectionSetting
impl IntoWasmAbi for DirectionSetting
source§impl PartialEq<DirectionSetting> for DirectionSetting
impl PartialEq<DirectionSetting> for DirectionSetting
source§fn eq(&self, other: &DirectionSetting) -> bool
fn eq(&self, other: &DirectionSetting) -> bool
impl Copy for DirectionSetting
impl StructuralPartialEq for DirectionSetting
Auto Trait Implementations§
impl RefUnwindSafe for DirectionSetting
impl Send for DirectionSetting
impl Sync for DirectionSetting
impl Unpin for DirectionSetting
impl UnwindSafe for DirectionSetting
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