Enum web_sys::OrientationLockType
source · [−]pub enum OrientationLockType {
Any,
Natural,
Landscape,
Portrait,
PortraitPrimary,
PortraitSecondary,
LandscapePrimary,
LandscapeSecondary,
// some variants omitted
}
Expand description
The OrientationLockType
enum.
This API requires the following crate features to be activated: OrientationLockType
Variants
Any
Natural
Landscape
Portrait
PortraitPrimary
PortraitSecondary
LandscapePrimary
LandscapeSecondary
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OrientationLockType
impl Send for OrientationLockType
impl Sync for OrientationLockType
impl Unpin for OrientationLockType
impl UnwindSafe for OrientationLockType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more