pub struct ScreenOrientation {
pub type: ScreenOrientationType,
pub angle: JsUInt,
}Fields§
§type: ScreenOrientationType§angle: JsUIntTrait Implementations§
Source§impl Clone for ScreenOrientation
impl Clone for ScreenOrientation
Source§fn clone(&self) -> ScreenOrientation
fn clone(&self) -> ScreenOrientation
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 ScreenOrientation
impl Debug for ScreenOrientation
Source§impl<'de> Deserialize<'de> for ScreenOrientation
impl<'de> Deserialize<'de> for ScreenOrientation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScreenOrientation
impl PartialEq for ScreenOrientation
Source§impl Serialize for ScreenOrientation
impl Serialize for ScreenOrientation
impl StructuralPartialEq for ScreenOrientation
Auto Trait Implementations§
impl Freeze for ScreenOrientation
impl RefUnwindSafe for ScreenOrientation
impl Send for ScreenOrientation
impl Sync for ScreenOrientation
impl Unpin for ScreenOrientation
impl UnwindSafe for ScreenOrientation
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